What is regex used for?
 
A regular expression (shortened as regex or regexp; also referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation.
 
Regex patterns are a bit confusing. Don't get hung up on it. You can find dozens of examples on the internet and do your tests with online tools.
You can also find apps that offer ready-made RegExpatterns like ihateregex.io. If you want to dive deeper. https://regexlearn.com/
 
 
 
 
badge