Solution: Regular Expressions

Take a look at the solution to the previous challenge.

Problem statement

Write code which first prompt the user to enter a regular expression, then prompt the user to enter some input for the regular expression, and compare the two for a match until the user presses the 'Esc' button.

Step-by-step solution

The step-by-step solution is as follows:

Get hands-on with 1400+ tech skills courses.