Browse by Tags
I'm using PHP and I need to find all the XHTML tags that aren't closed (or open) properly in a text.
For example, in this text I need to match the tag <strong> to remove it:
<p>This is an <strong>error</p> I thought it would be easy, just an assertion-related problem, and I created this ...
Sure this is probobly simple but my head just can't get around this issues... I'm trying to parse the HTML to start replacing/removing problem tags to meet W3C AA compliance and various other requirements. The first one i'm working on is removing the 'bgcolor' attribute of any table/tr/td tag. But using the ...
I don't own Dreamweaver, but I'll try to help you anyway. Try
in the find field and
$1 | appended text here
in the replace field. This should also work, if the alt attribute comes after an href attribute.
I wonder how I can delete everything from the string except <li> tags
<li>My first element
</ul></li> something out
<li>My secont element</li> <br/>
something stupid<li>My third element</li>