This Regular expression is applicable to all string literals. If we want to match character outside those strings, then just need to add that character in rest of the groups.