Question

I want to use the find and replace feature in Dreamweaver to search for meta tags and link tags with /> in them and replace them with >.

For example:

<meta name=..... />

Replace with:

<meta name=.... >

I discovered that this helps me find them all: <META[^>]*\/>

but how do I replace them so that all the meta content is there EXCEPT the forward slash?

Was it helpful?

Solution

You can search for this:

<(META[^>]*)\/>

And replace with this:

<($1)>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top