a little stumped on how to write this regex. I have the following string:
'<p>Lorem ipsum dolor sit amet</p> <p>Lorem ipsum dolor 1000 sit amet</p> <p>Lorem ipsum dolor sit amet</p>'
The string includes the p tags. I need to ONLY match the set of p tags that contains the substring 1000. What I have so far is (<p>.*)(?=(8130))(.*?</p>) which stops after the second set of p tags, but still grabs the first set. How can I refactor this to tell it to skip over any sets of tags that don't contain 1000?