A regular expression is written in the form of /pattern/modifiers; where "pattern" is the regular expression itself, and "modifiers" are a series of characters indicating various options. The "modifiers" part is optional.
Read More...