XF 1.1 Need a query to find and replace a something in posts

Brent W

Well-known member
On a recent forum I purchased the following code was used to embed videos:

<iframe width="640" height="360" src="http://www.youtube.com/embed/lXgE45oA1iQ" frameborder="0" allowfullscreen></iframe>
This won't work in xenForo so I'd like to find and replace every instance of this in all posts and convert it to the youtube video code.