I am working on a Client side where they have text like below saved into a MySQL Database, I need to delete it from all entries.
Using PHP or just SQL, can someone help me figure out how this can be done? I have hundreds of records so manually editing each record isn't a viable solution.
The String of text will be like this below, where the text is different for each post record.
Another issue is there could be more then 1 per post record, so I need to simply find the 1st occurance of it and delete it.
<p><strong style="color: rgb(255, 127, 0); font-size: 20px;">
This is my tile text here, I need to delete these?</strong></p>
Where * could be anything...
<p><strong style="color: rgb(255, 127, 0); font-size: 20px;">*</strong></p>
contentfield...I'm doing this on a WordPress DB. 1 idea I have is using PHP, select the result and iterate each record running a REGEX on it, but I am not sure how the regex should be or if an easier way exists<p><strong style="color: rgb(255, 127, 0); font-size: 20px;">*</p>