View Single Post
Old 12-20-2022, 06:37 PM   #11
aknight2015
Junior Member
aknight2015 began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Dec 2022
Device: Galaxy Tab SM-T500
You turned a multiday job into a 30 second job. If even 30 seconds. Thank you so much for that.

Quote:
Originally Posted by Karellen View Post
If the string to remove is this, and lets assume there is a closing tag as well

PHP Code:
<a href="13th_Black_Crusade" title="wikilink"></a
Your search regex would be...
PHP Code:
<a href=".*?" title=".*?"></a
.*? = anything between the two quotation marks

But if there is something between the opening and closing tag that you need to save, you would use...
PHP Code:
<a href=".*?" title=".*?">(.*?)</a
and in the replace box you would use...

PHP Code:
\
aknight2015 is offline   Reply With Quote