|
Advanced Boolean and Wildcard Search Syntax
The Hazmat Regulations and Interpretations web site allows you to perform advanced searches using these Boolean expressions "and", "or", "and not", "near"; or you can search word patterns using the wildcard "*" (asterisk) and exact phrases by enclosing your phrases within "quatation marks".
| Search Type | Example |
| simple |
flammable liquid label |
Finds documents containing at least one of the specified words or phrases. Flammable liquid label finds documents containing either flammable, liquid, or label. The found documents could contain all words, but not necessarily. The more words found in a document the higher the rank. |
| OR |
flammable OR label |
Finds documents containing at least one of the specified words or phrases. Flammable OR label finds documents containing either flammable or label. The found documents could contain both items, but not necessarily. Similar to the simple search. |
| AND |
flammable AND label |
Finds documents containing all of the specified words or phrases. Flammable AND label finds documents with both the word flammable and the word label. |
| NOT |
flammable NOT label |
Excludes documents containing the specified word or phrase. Flammable NOT label finds documents with flammable but not containing label. |
| NEAR |
flammable NEAR label |
Finds documents containing both specified words or phrases within 10 words of each other. Flammable NEAR label would find documents with flammable and label, if they were within 10 words of each other. |
| WORD STEM |
flam* |
Finds documents that contain any word starting with "flam". Use an asterisk when you're not sure how a word is spelled or to find variations of the word: try flam* to find flame, flaming, flammable. Enter label* to find singular and plural forms. Use an asterisk at the end or in the middle of words. The Labelmaster search ignores an asterisk at the beginning of a word. |
| EXACT PHRASE |
"flammable label" |
Finds documents that have the two words found right next to each other. "Flammable label" finds documents containing the exact phrase "flammable label". Placing quotation marks around any series of words turns them into a phrase and tells the Labelmaster search that you are only interested in documents that have the words in this specific order. |
| COMBINATION |
flammable NEAR label NOT liquid |
Finds documents containing flammable with label within 10 words, excluding documents containing liquid. Use combination phrase and word stem searches to broaded or narrow your search. |
|