DB Replacer

Help with a regex please

1 year 1 month ago #75695

David Boggitt's Avatar David Boggitt

Hi there,

I'm trying to find all code like this:

{mosmap lat='50.80146'|lon='-0.056691'| zoom='14'|zoomType='Small'|zoomNew='0'|mapType='Hybrid'|showMaptype='1'| overview='0'|text='Rockpooling at Rottingdean Beach'|tooltip='Rockpooling at Rottingdean Beach'|marker='0'}

and delete it. I've been using an online regex tester and this seems to work


However, it doesn't on DB replacer. I have got the regex box ticked. Could you help please?

Many thanks,


1 year 1 month ago #75696

Peter van Westen's Avatar Peter van Westen Admin


{mosmap .*?}
{mosmap [^}]*}

I recommend this online Regular Expressions tool, as it follows the PHP flavour of Regular Expressions: