If you go to Tools > Options > Verification > QA Checker 3.0 > Regular Expressions, you can select the checkbox Search Regular Expressions in the right pane to activate the Regular Expressions search in the QA Checker.
To help you search for the most commonly used strings, you can use the Examples under the Action button:
These examples contain:
- Space between number and % sign, e.g. 30 %:
[0-9]{1,}\s%
- Contains IP address:
\b(([0-2]?\d{1,2}\.){3}[0-2]?\d{1,2})\b
- Space missing before parenthesis, e.g. text(text):
[^\s](\(|\[|\{)
- Space before mm, e.g. 30 mm:
[0-9]{1,}\smm
- Multiple spaces:
\s{2,}
- Multiple dots:
\.{2,}
- Explicit tab character:
\t
- Space before colon:
\s:
- Contains e-mail address:
[^\s]+@[^\s]+
- Contains web link:
\b(https?|ftp|file)://[-A-Z0-9+&@#/%?=~_|!:,.;]*[A-Z0-9+&@#/%=~_|]
Some additional examples that may help you:
\d
: Will filter on all segments containing any number at all (looks for single characters in the range 0-9).^\d
: Will do the same as above but will only find segments starting with a number. The little ^
(carat) symbol says: look at the start of the segment and if the number is not found there, just ignore it.^\d+$
: Will do the above but for segments that really are number only. So it will display 123 but not 123 and some text. The +
symbol says keep looking as many times as you can, and the $
says go to the end and check there too.^[\d|,|.]+$
: Here we add the ability to find numbers like 1,234.56 as the pipe symbol |
inside the []
brackets says find \d
or , or .
.^a
: Means start at the beginning and find a segment beginning with a.|
: This is the pipe symbol, which is very useful to search for multiple words. It finds all segments that contain any or all of the words you put between these symbols. You can make the sequence as long as you like.