1

I am using wordpress with Search Regex plugin. My problem is the following. I have nearly one thousand articles with two iframes. I want to use search regex to delete the iframe containing a certain domain in src. I used the following regex code for searching it :

#(<iframe.*youtube.com.*>)(</iframe>)#

The search gives me the first iframe alongside the second. Is there a delimiter or a better expression to search just for the iframe containing youtube in search regex?

Thanks.

Avinash Raj
  • 172,303
  • 28
  • 230
  • 274
Anas Zine
  • 31
  • 6

0 Answers0