(Solved) – Regex Lookahead Issue

  • by
(solved)-–-regex-lookahead-issue

I’m bad at the coding, but I have the following pattern “[. ?]” which only matches the ITALICIZED TEXT and it is really stumping me as to how to also get the BOLD TEXT.

I want to [GET THE TEXT IN THIS] and then [I WANT TO GET THIS AND
[BUT IT STOPS HERE]
AND I WANT TO GET ALSO GET THIS]; and not this.

Note: Recursion not supported in this flavor of Regex VBscript.

Thanks in advance! You can play with it here https://regexr.com/4rgh0

Leave a Reply

Your email address will not be published. Required fields are marked *