View Single Post
Old 12-19-2022, 10:49 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,628
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
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:
\
Karellen is online now   Reply With Quote