I am putting "merge" fields in my text, ie:
::sub_menu::33::
I want to be able to find all occurrences of this pattern:
::sub_menu::(any number)::
Then I'll go on to extract the number and replace it (I don't need help with that bit thanks).
I've used preg_match_all before, but am not sure how to use it when I want to use a specific string as part of the match? Any help much apprciated.