Replies: 1 comment 1 reply
-
You can specify custom regexp flags, see the docs. Other that that I recommend using something like https://regexr.com/ to write and test regexps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all! I'm struggling to work out the implementation of regexp in metabind. I'm trying to do the following:
###START###
and###END###
. There will be multiple line breaks and an unspecified amount of content in between those identifiers. Could be 2 lines, or as much as 20 I suppose.So far I can successfully find and replace single lines using the ###START### identifier, but I'm trying to tell Metabind to replace everything in between the start and end tags - I've tried using
*
and.
as wildcards but I think they're ignoring line breaks. I gather there's a flag I can provide in most regexp implementations but I'm struggling to pass it to Metabind. If anyone has done this and can help I'd be dead grateful. Thanks!Beta Was this translation helpful? Give feedback.
All reactions