a simple problem about RegExp in Javascript

Posted by T_t on Stack Overflow See other posts from Stack Overflow or by T_t
Published on 2010-03-31T11:14:15Z Indexed on 2010/03/31 12:03 UTC
Read the original article Hit count: 114

Filed under:

I have a text:

 <font class="myclass">class abc</font> 

and i have a pattern: class now, i want to find the word "class" before "abc" but not in the <font class="myclass"> ,how could i do with RegExp in javascript? Thanks! :)

© Stack Overflow or respective owner

Related posts about JavaScript