Thread
:
Regex examples
View Single Post
04-09-2022, 08:18 AM
#
715
patrik
Guru
Posts: 683
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
I want to catch some hrefs.
This catches all:
<a href=".*?">(.*?)</a>
\1
I want to only get those that have the word "smil" somewhere within the link.
href=" smil "
I have tried many ways, but I can't seem to understand regex good enough...
patrik
View Public Profile
Find More Posts by patrik
Track Posts by patrik via RSS