Pergunta

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?

Foi útil?

Solução

You can search for this:

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

And replace with this:

<($1)>
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top