Regular expressions (or regexes) can be confusing and is a topic which all developers come across at some point in their work. Visualising how regular expression engines processes regular expressions can help to demistify and understand them better.
This demonstration is designed to give you a general overview of the logic behind regex engines and why they might not always give you the result you expect. While it doesn't cover every aspect of regexes, it covers:
Please let me know if you'd like me to add a topic to the demo.
And if you want to find out more about regular expressions, please have a look at: