How to select specific text between HTML tags with RegExp?

libranoelrose

New Member
I am building an application which needs to select specific text between html, here is an example:String:\[code\]<p><a href="http://stackoverflow.com/questions/15757338/test0">test1 test2</a>test3</p>\[/code\]RegExp: \[code\](Select text between HTML)(test.)\[/code\]What I want to select is "test1","test2" and "test3" but not "test0"Is there any solution??Thanks for any helpsNote:I am using JavaScript for RegExp operation.
 
Back
Top