문제

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?

도움이 되었습니까?

해결책

You can search for this:

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

And replace with this:

<($1)>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top