Thread
:
Regex: grabbing <h3><span> tag group
View Single Post
03-16-2019, 06:26 PM
#
3
Brett Merkey
Not Quite Dead
Posts: 195
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
The following regex seems to work fine with the code snippet you gave:
Quote:
<h3.*?(\d+\. \w+).*?</h3>
All it does is look for a number, a period, a space and text between the h3 tags — everything else being ignored.
Last edited by Brett Merkey; 03-16-2019 at
06:29 PM
.
Brett Merkey
View Public Profile
Find More Posts by Brett Merkey
Track Posts by Brett Merkey via RSS