I am using JavaScript and would like to match everything in a custom template language like this:
Begin10
Match THIS keyword and ANOTHER
End10
So I would like to find Begin10 using the 10 as variable to find End10 and match THIS and ANOTHER between them.
I've looked at capture groups. I assume this is the way to go, but I can't figure out how to compose the expression.
THIS and ANOTHER need to be targeted for syntax highlighting by my code.
