Regular Expressions

Marc Rodriguez
Jul 21 · 6 min read

Regular expressions (often referred to as Regex) are used in many programming languages to match patterns of characters in strings. Their syntax can be a little daunting to learn at first, but once you learn some basics, they can be quite useful. With regular expressions, you could search a string to determine if the pattern is present, validate passwords, emails, phone numbers, etc., or perform a search and replace. I hope by the end of this article…