Intro to RegEx
What is Regex?
There’s a lot of information here. RegExpressions are made by creating patterns to filter out strings/data that you want, and in doing so, creates a new object for each instance of the expression.
Regular Expressions are useful because you can dynamically filter data out of strings and organize it however you would like. RegEx also offers a few different built in methods for testing data, replacing and modifying data in place.
What is Regex Used For?
RegEx can be used for string validation in front/backend web development, and is most commonly used today for Web Scraping. This can be done simply by making a request to the static HTML page that you want data from, and formatting/filtering out the information you do want and don’t want. There are other uses for regex but from what I’ve seen this is the most applicable use for development.
How can you use regex?