In this example we want to exclude everything that contains @ or /
To do this, we will use the following Regular Expression:
^((?![@/]).)*$
Breakdown of the Regex elements used
Enlarges the table by opening it in a full screen dialogOpen
^ Beginning of the string
() Capturing Group
(?!) Negative look ahead. This specifies a group that cannot match after the main expression.
(i.e. if it matches, then the result is discarded)
[] Matches any character in the set
@/ Character
. Matches any character except line breaks
- Match 0 or more of the preceding token
$ End of the string