regular expression string delete text character code example
Example 1: regex exclude character
[^a] #any character except 'a'
[^aA] #any character except 'a' or 'A'
[^a-z] #any character except a lower case character
[^.] #any character not a period
Example 2: regular expression escape character
regex = / a/; // match a bell or alarm
regex = / e/; // matches an escape
regex = / f/; // matches a form feed
regex = / n/; // matches a new line
regex = / Q…E/; // ingnores any special meanings in what is being matched
regex = / r/; // matches a carriage return
regex = / v/; // matches a vertical tab