Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

The Regular Expression tester tool

Updated on April 5, 2022

Use the Regular Expression tester to test whether a text pattern matches the regular expression.

  1. Use the Application Explorer to open the standard activity Code-Pega-Parse.RegExpTester.
  2. Click ActionsRun. A test input form appears.
  3. In the Page list, click Empty test page.
  4. Leave the parameter values blank. Click Run.
  5. Complete the detail form.
    Regular Expression Enter a regular expression to be used, using syntax conforming to the Java implementation of regular expressions Java.util.regex.Pattern.
    SourceEnter source text to be searched for matches to the regular expression.
    UNIX LinesSelect to recognize only newline characters (\n, also called line feed) as end-of-line delimiters. Clear to recognize additional characters or character pairs as end-of-line delimiters: carriage return (\r), carriage return followed by newline, next-line (\u0085), line-separator (\u2028) and paragraph-separator (\u2029).
    Multilines Select to cause the expressions ^ and $ to match immediately after or immediately before, respectively, a line terminator or the end of the input sequence.

    Clear to have these expressions only match at the beginning and the end of the entire input sequence

    Canonical Equivalence Select to cause two characters to considered to match if, and only if, their full canonical decompositions match.

    The expression "a\u030A", for example, matches the string "?" when this flag is specified. By default, matching does not take canonical equivalence into account.

    CommentsSelect to ignore all white space (tabs and spaces) within the Source text, and to ignore all material starting with a comment character # through the end of the line.
    Dot Matches AllSelect to indicate that a period character is to match any character including a line terminator. Clear to indicate that a period character is to match any character except a line terminator.
    ASCII Case InsensitiveSelect to match uppercase with lowercase ASCII characters.
    Unicode Case InsensitiveSelect to match uppercase with lowercase ASCII characters.
  6. Click Test Expression.
  7. A table of results lists each match of the regular expression found in the Source text.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us