Regex: how to get contents from tag inner (use javascript)?

Posted by lazyanno on Stack Overflow See other posts from Stack Overflow or by lazyanno
Published on 2010-04-12T14:45:40Z Indexed on 2010/04/12 15:33 UTC
Read the original article Hit count: 498

Filed under:
|
|

page contents:

aa<b>1;2'3</b>hh<b>aaa</b>..
 .<b>bbb</b>
blabla..

i want to get result:

1;2'3aaabbb

match tag is <b> and </b>

how to write this regex using javascript? thanks!

© Stack Overflow or respective owner

Related posts about regex

Related posts about JavaScript