Regex pattern now held in variable
Regex now handles duplicate modifers

However, they must be on seperate lines.