Regex and Javascript continued

This is part of a series I am writing for me to have a better understanding of Regex and for others who learn like me to have a sort of reference.

In this series I would like to talk about character flags and character sets in Regex.

The most common Regex flags that you will see are the /g and /i flags used at the end of the Regex. These flags are used in combination with other character sets or classes to filter through and search for something with this added parameter.