Hello, Brian,
in most tools, it will not match %%some text%%, because %% is already included in the first match. For example, in PHP:
<?php
echo preg_replace('/%%(.+?)%%/', '[$1]', '%%match1%% some text %% match2 %% some more text %%match3%%')
?>
Output:
[match1] some text [ match2 ] some more text [match3]
So, you don't have to worry
