This is a stupid question but I would like to remove {{Lien web ....}} (including brakets) inside a string.
Example :
test {{Lien web|xyz}} test {{xyz}} test
Result should be :
test test {{xyz}} test
I tried with :
preg_replace('/\{\{.*?\}\}\s*/s','',$string);
but how to add "Lien web" ?
Thanks a lot!
Aucun commentaire:
Enregistrer un commentaire