Could anyone help with a regular express that could remove:
[caption id="attachment_116" align="alignnone" width="300"]
Where the *
could be anything:
[caption * ]
Cheers - Working in PHP
Could anyone help with a regular express that could remove:
[caption id="attachment_116" align="alignnone" width="300"]
Where the *
could be anything:
[caption * ]
Cheers - Working in PHP
Then try this pattern:
(\[caption\s+?[^]]+\])
a Replace with this pattern will remove all [caption * ]