In This Appendix |
NeoLoad includes the Apache Jakarta ORO regular expressions, described in the Jakarta website, for handling Perl5-compatible regular expressions.
Regexes may be used within NeoLoad to define:
This guide is not intended as a comprehensive guide to regular expressions. For more information about common cases, see Quick reference and Examples. For more information, see Links to regex resources.
For more information about testing regexes, see Links to regex testers.
Regular expressions are used to find substrings matching a pattern.
You can consider the following text as an example: The value is: 45675
You can perform two kinds of operations on the text:
The value is: <a number>
" , as when defining a content assertion. In this case, the regex would be: The value is: \d*
The value is: (\d*)
$1$
", as the expression only contains one bracketed group. When several groups are defined, use "$index$
", where index
id the group number in order of appearance from left to right.