Below are some representations for Regex Single occurrence of Any character in a string can be replaced by . Zero or more occurrences of any character * To represent whitespaces \s One of the character inside square bracket (eg. any char a, b or c) [abc] Exclusion of characters -except anyone inside square bracket in single position (eg. non of the char a, b or c) ...