dtSearch Syntax Characters
dtSearch includes special characters and other operators that you can use to define search criteria. The following table summarizes the syntax options available for dtSearch rules in Blackout projects.
Special characters or operators | Search Functionality |
---|---|
AND, OR, NOT | Boolean operators |
? , * | Wildcards |
W/N (or WI) | W/N Operator |
PRE | Proximity with terms order |
xfirstword, xlastword | Built-in search words |
() | Operator precedence |
" " | Search words that are operators |
% | Fuzzy searching |
~ | Stemming |
(?\<redact>{term}) | Partial Redaction |
!"#$&'()*+,./:;<=>?@[\]^`{|}~- | Special Characters recognized as spaces that cause word breaks |
# | Phonic searching |
= | Numerical patterns |
Noise words are not supported in Blackout Projects. Use the W/N operator for proximity matches in these instances.
By default, all terms in a dtSearch rule will be redacted. The terms should be surrounded with (?<redact> {term}) to redact part of a dtSearch rule.
Example 1 - Redacts just Randall
Example 2 - Redacts Tim and Randall when within 5 characters of Word