Regular Expressions

Many TrialGrid Diagnostics have settings to exclude objects from findings for a project. These exclusions can use regular expressions. A good introduction and tutorial for learning more about regular expressions is here: https://regexone.com/ and you can test the regular expressions used by TrialGrid with the https://regex101.com/ or https://pythex.org/ websites.

Regular Expression examples

To exclude all objects starting with 'PR' and ending with 'DT':

^PR.*DT$'

To exclude all objects containing the text 'PROJECT':

^.*PROJECT.*

To exclude all objects containing the text 'PROJECT' or the text 'LIBRARY' followed by one or more digits:

^.*(PROJECT|LIBRARY)\d+

ie. the above will match 'Project1' and 'LIBRARY0123' but not 'PROJECT'

Regular expressions used in Diagnostic settings are case-insensitive.