GAT has some very powerful filtering right at your fingertips, but you can boost this by an order of magnitude by adding regular expressions to the metadata search criteria.
As one of our customers wisely said if you have a problem that involves having to use a regular expression, then you have two problems….
But good news, we hope to make it a little simpler for you, so here are some regular expressions you might find useful for day to day searching in GAT.
Note in Examples: Domain name = bsn.ie,
ALSO be sure to remember to tick the box ‘Reg Ex’ in the search area
All addresses from your domain
All addresses not from your domain
All addresses not from your domain or from bsn-corp.ie or bsninc.ie, etc.
Any numbered account on your domain (deleted accounts pick up numbers for a period, these numbers are between 10 and 20 digits, but are typically 11).
Any numbered account (with between 10 and 20 digits) from any domain
should also work but has a looser domain definition.
Any email address that begins with Te or te at any domain.
Will catch Test@bsn.ie or email@example.com but not firstname.lastname@example.org
Any email address that begins with Rob or rob at the domain bsn.ie
Any email address that contains Ti or ti at the domain bsn.ie
Will catch Nastia@bsn.ie but not Arthur@bsn.ie
Any variable containing a string of the type X or x, followed by 00, followed by 6 or 7, followed by any 4 digits
Will catch ‘A man called bond X0071234 in a house.’
Any variable with no number in it will be caught by
If student accounts all have numbers or are part numerical and staff accounts do not, this will return all staff accounts.
To search for null or blank fields use the regular expression
This will return rows where there is no value in the column you are searching under.
To find two files at once with two different names