Regular Expression for finding font-style in html style

Posted by merdurian on Stack Overflow See other posts from Stack Overflow or by merdurian
Published on 2010-03-26T03:57:54Z Indexed on 2010/03/26 4:03 UTC
Read the original article Hit count: 277

Filed under:

Any idea how to find and replace the HTML font-size in style attribute?

eg.   <span style="font-size:12px">hello world</span>

I would like to remove all font-size using javascript.

Thank you

© Stack Overflow or respective owner

Related posts about JavaScript