Testing the Expressions

Familiarize yourself with 'regex101.com,' one of the major regular expression validators available online.

We'll cover the following

Before we get too crazy with the examples, we want to make sure you have a place to test what you learn. You can write a script with the expression and use it, but, if you’re just starting out, that might be harder than simply keeping a website bookmarked.

regex101.com

There are many online regular expression validators, so you’re more than welcome to Google one, but our favorite is regex101.com. With it, you can simply write your expression, enter some sample text to analyze, and see the results immediately. You can even pick and choose the flavor of RegExp to use (keep reading to understand what we mean by that).

The following image shows the basic UI you’ll be using:

Get hands-on with 1200+ tech skills courses.