Frage

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?

War es hilfreich?

Lösung

You can search for this:

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

And replace with this:

<($1)>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top