Can someone help - need a regular expression that will select any and all STRING that occur ONLY between STRINGA and STRINGB, regardless of line break. I've tried researching this without success. Other "between two strings" queries on here haven't been helpful.
Specifically, I need to select ONLY tags (including the lt gt symbols) ONLY between h3 tags.
<p> asdf <strong> ghkjk
<strong> qwer </p>
<h3> asdf **<strong>** gh
kjk **<strong>** qwer </h3>
I can make it select ONLY all tags; and I can make it select the full sequence of the <h3> and </h3> tags. But I can't see how to combine those two conditions. (btw, regexr.com is a great tool!) Thanks.
[\s\S]*?
`. You might neeed to escape the forward slash. – Wiktor Stribiżew Jun 17 '15 at 14:20