\sReturns a match where the string contains a white space character"\s"Try it » \SReturns a match where the string DOES NOT contain a white space character"\S"Try it » \wReturns a match where the string contains any word characters (characters from a to Z, digits from 0-9, an...
You can complement (invert) the character set by using caret^symbol at the start of a square-bracket. [^abc]means any character exceptaorborc. [^0-9]means any non-digit character. .-Period A period matches any single character (except newline'\n'). ^-Caret The caret symbol^is used ...
\P{Greek} Negated Unicode character class (general category or script). Character classes Expand table PatternDescription [xyz] Character class matching either x, y or z (union). [^xyz] Character class matching any character except x, y, and z. [a-z] Character class matching any characte...
Inside the square brackets,-indicates a range, unless-is the first character or is escaped with a\. [xyz]matches "x", "y", and "z" [^abc]matches any character except "a", "b", or "c" [a-d]matches "a", "b", "c", or "d" ...
any alphanumeric character. :W any non-alphanumeric character. :s any blank space character. :S any character other than a blank. :| Vertical bar :^ Caret :$ Dollar sign :( Left parenthesis :) Right parenthesis :< Greater than
[^[:space:]]is a character class that matches any character except a whitespace. Escape characters:All escape characters described above can also be used within a character class specification. The only change is with\b, that here is interpreted as a backspace character (\u0008) instead of ...
\w for any alphanumeric character \s for space Escape special character using a backslash (\) Let’ take the DOT metacharacter as you’ve seen thus far. The DOT has a special meaning when used inside a regular expression. It matches any character except the new line. ...
An invalid character was found in the mail header: '@'. An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. An Unable to write data to the transport connectionestablished connection was aborted by the software in your...
not_InGreek">Any character except one in the Greek block (negation) [\p{L&&[^\p{Lu}]]} Any letter except an uppercase letter (subtraction) Boundary matchers ^ The beginning of a line
any character except for one of.$^{[(|)*+?\matches itself \n: new line \r: carriage return \t: tab \b: backspace (only inside a character class) \nnn: ASCII character, wherennnis a two- or three-digit octal character code ...