Regex: hot 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 14:53 UTC
Read the original article Hit count: 360

Filed under:
|

page contents:

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

i want to get resulet:

1;2'3aaabbb

match tag is <b> and </b>

how to write this regex use javascript? thanks!

© Stack Overflow or respective owner

Related posts about regex

Related posts about JavaScript