Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » html » tag
  • Replace bgcolor attributes with a style in any html tag

    Hi guys,   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 ...
    Posted to Construction Advice (Forum) by PommyTom on July 4, 2007
  • Re: alt tag search / relpace in Dreamweaver

    I don't own Dreamweaver, but I'll try to help you anyway. Try (<img\b[^>]*?\salt\s*=\s*"[^"]*) 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.
    Posted to Construction Advice (Forum) by eSquire on April 27, 2007
  • Deleting the html tag's backgrounds

    I wonder how I can delete everything from the string except <li> tags f.e. Input zzz <li>My first element <ul> <li>sub1</li> <li>sub2</li> </ul></li> something out <li>My secont element</li> <br/> something stupid<li>My third element</li> Output: <li>My ...
    Posted to Construction Advice (Forum) by Hellson on December 20, 2006