Maybe you could simply add a .* at the beginning of your pattern:
s/(.*\{\{GHGbible-ref... ^^
This would gobble up everything upto the last {{...}} thingy before the 4:5, so you'd capture 'Ru' instead of the 'Gn' from the first {{...}}.
In reply to Re: matching any string except a regex
by almut
in thread matching any string except a regex
by amir_e_a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |