Character sets
In the following table, you can find the patterns for character sets, which tell the Regex to match only one character out of several characters.
Pattern |
Description |
Example |
---|---|---|
|
This matches any one character enclosed in the character set. You can use a hyphen to denote the range. For example, |
|
|
This matches any one character, which is not enclosed in the character set. |
|