Skip to main content
/^[a-z0-9_-]{3,16}$/

/^[a-z0-9_-]{3,16}$/

By Eugene Kudashev
Regular expressions can be extremely useful whenever you need to make the computer do something with text.

For example, when you need to check that what user typed is a real email, or automatically replace every uppercase letter F into a lowercase letter F.

But as useful as they are, regular expressions can be extremely confusing and intimidating for beginners.

In this podcast I’m going to explain regular expressions in a simple and accessible way, and help you start using them in your day-to-day work.
Where to listen
Google Podcasts Logo

Google Podcasts

Pocket Casts Logo

Pocket Casts

RadioPublic Logo

RadioPublic

Spotify Logo

Spotify

/^([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})*$/
In this episode I’m going to show you how to check that a given string is indeed a real email. This could be useful for a sign up form in your app, or an order checkout page in your online shop.
03:02
December 14, 2020