Not sure how to do this
-
Hello, i have my regex here to find url from a certain domain, i have tested it here and it seems to work
https://www.regextester.com/
the regex code is :<a href="(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)(example\.com|example\.org|example\.net)[^>]*>([\s\S]*?)<\/a>
I want to match the link html code for an specific domain , replace it with nothing but leaving the anchor text alone
Is that possible?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Not sure how to do this’ is closed to new replies.