I'm really bad with regular expressions - never had enough time to learn it properly.
I'm trying to find all elements within the string which are wrapped with %% %% - example would be:
%%gallery%%
Any idea what regular expression would do the job here?
I'm going to later use it in PHP to replace the placeholders with relevant plugins.