Code Description
g Globalmatch all occurrences of the regular expression
i Ignore casematch any case
m Multiple linesprocess the input as multiple lines
o Only oncecompile the regular expression the first time
s Single lineignore new lines
x Extra spacesallow comments and spaces in regular expression syntax