Hi all
I need a javascript code that removes all the title="*" attributes in a page, where the star (*) represents a wildcard for the content of the title attribute. So the following would occur:
<a href="#" title="test">test</a>
would be replaced with
<a href="#">test</a>
just like:
<a href="#" title="">test</a>
would be replaced with:
<a href="#">Test</a>
I know there is a function in javascript called match, but i have no idea how to write the reg expression that would work like the above example.
thanks in advance!!