I am working with a tokenized string, the token always begins with ~~Example~~ and ends with ~~end~~. I am trying to work out a regex expression that will grab both tokens. I currently have /~~([^])\w+~~/ but this is only grabbing the end token which is ~~end~~. The following example will clarify my question. I am working with a tokenized string, the token