johngodley / search-regex

Search Regex adds a powerful set of search and replace functions to WordPress that go beyond the standard searching capabilities, with full regex support.
https://searchregex.com
GNU General Public License v3.0
32 stars 9 forks source link

Delete String between Begins AND Ends #169

Closed Bullitt1968 closed 2 months ago

Bullitt1968 commented 1 year ago

Hello,

I would like to delete a multi-line content. Each content starts with [tooltip tip=".

and ends with:

"] to the glossary.

The content is always different. Here are two examples:

[tooltip tip="Buddhism is a teaching tradition and religion that finds its origin in India. It has about 377 million followers worldwide - the information varies depending on the source between 230 and 500 million believers - and is thus the fourth largest religion on earth ... go to glossary"]

[tooltip tip="ACT was developed by psychologist Steven Hayes and his colleagues Kelly Wilson and Kirk Strosahl. ACT is one of the newer behavioral therapies, the so-called "third wave," ... go to glossary"]

Translated with www.DeepL.com/Translator (free version)

Kind regards

Mark

johngodley commented 1 year ago

Ok. The support site has all the information you need:

https://searchregex.com/support/

Particularly around regular expressions