I am trying to find and delete text that contains much of the exact text string, but also contains some different numbers.
For example, I want to search for and remove the following:
[caption id="attachment_3777" align="aligncenter" width="990"]
[caption id="attachment_5457" align="aligncenter" width="990"]
[caption id="attachment_3492" align="aligncenter" width="990"]
[caption id="attachment_9267" align="aligncenter" width="990"]
[caption id="attachment_2398" align="aligncenter" width="990"]
I want to remove all of this text. Most of it is the same, other than the attachment numbers.
So, I want to somehow search for:
[caption id="attachment_****" align="aligncenter" width="990"], where the "*" is a wildcard.
Thanks for your help!