Monday, 15 September 2014

regex - Remove Forward Slash from html tags in Dreamweaver -


I have meta tags and link tags with /> I want to find and replace the feature in Dreamweaver for the tag. In them and & gt; replace with.

For example:

  & lt; Meta name = ..... />   

Replace with:

  & lt; Meta name = .... & gt;   

I found that it helps find all of them: & lt; Meta [^ & gt;] * \ />

But how do I replace them so that all the meta content should be forwarded to the slash?

You can search for:

  & lt; (Meta [^> gt;] *) / /   

and replace with:

  & lt; ($ 1) & gt;    

No comments:

Post a Comment