Regular expressions and their applications

5 1,918 156
articles words lines of code

This article shows how I have used regex in real life for all sorts of tasks.

Today I learned how I can use the method 'groupdict' from a regex match to get a dictionary with all named groups.

Can you solve this crossword where all hints are regular expressions?

Learn how to find text patterns and replace them with dynamic content using regex.

A regular expression, without much rigor, is a very compact way of representing several different strings. Given a regular expression (regex), can I find out all the strings the regex can find?