0
Regular expressions, popularly known as “regex” or “regexp,” are strings that describe a search pattern. You can use regular expressions to check if a string contains a specific pattern, extract information from a string, and replace parts of a string with new text.