Knowledge Center > Tips
Using the RegEx Wizard
ipMonitor supports enhanced Regular Expression search capabilities. The RegEx Wizard was included to simplify the creation of Regular Expressions to be used in several of the Quality Assurance Monitor types.
To construct a Regular Expression:
- Click the Tools menu option, then select RegEx Wizard.
- Enter the starting string of the text you wish to capture into Match begins with field. Use the Include in Capture checkbox to indicate whether the entered string marks the beginning or directly precedes the text in question.
- Enter the target substring into the Followed By field.
- Enter the ending string from the text into the Match ends with field. Use the Include in Capture checkbox to indicate whether the entered string marks the end or directly follows the text in question.
- Use the Rules are Case Sensitive option to indicate whether you want the Regular Expression to distinguish between uppercase and lowercase characters when searching for the target substring.
- Use the Rules are White Space Sensitive option to indicate whether spaces or tabs within the Regular Expression should be treated literally.
- Use the Rules expect to cross multiple lines option to indicate whether the match will wrap across multiple lines.
- Copy the text to be searched and paste it into the Input your Text Below field.
- Lastly, click on the button labeled Test to test the Regular Expression that has been constructed.
Example
The following example constructs a Regular Expression to search through a SNMP Trap for the location a temperature sensor inside a server that is detecting an above-normal temperature:

Additional Information
When testing Regular Expressions using the RegEx Wizard Tool, text highlighting is used to indicate the results of the test. Text highlighted in grey is essentially ignored by the Regular Expression. Text highlighted in white shows the text matched by the Regular Expression. Text highlighted in blue shows the first capture.
< Back

Last Updated: April 21, 2006 | What did you think of this topic?