Created global variable for regex pattern
Created global variable for regex pattern