View Single Post
Old 03-27-2019, 08:45 PM   #7
JoeBloe
Junior Member
JoeBloe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Sep 2014
Device: Android Cool Reader
A great site for testing Regex is regex101.com.
Try this:
(<h3.*>)(\w[^<]+)(<.+>)(</h3>)
The section [^<]+ tells it to take anything that is NOT a < whereas a . will keep going and take anything until it gets to the </tag> before the </h3>
Of course, you can do what you want with the grouping. I just use it on that site to better see if each section is doing what I want.
JoeBloe is offline   Reply With Quote