I made this post as a sub-topic for the main “Simple Regex Implementation in JavaScript” post, but it was getting too long as I covered quite a lot about regex lookahead. This post includes step-by-step understanding of lookahead in regex and code snippets to practice and implement yourself. Click on the title to read more…
