Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter name

Default value

Description

Valid examples

regex

Here This parameter is used to set the regular expressions to be used are stored.

The following Regex example can be used to extract a valid e-mail from an arbitrary text.

Info

^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$.

^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$.

content

The tested string, present as either a variable ${Prozessvariable} or a string directly.

${emailListe}

writeNameInVariable

The process variable into which the results are written.

ersteEmail

matchAll

true

Boolean(true/false). If it is set to “true”, all results are written to the process variable.

If it is set to “false”, only the first result will be stored.

false

Example:

In this example, we will use a regular expression for a cookie which we get from an interface. This cookie will be used for authentication. The response for cookie information as follows:

...

This response is written into a variable called payaraData. We will implement the returnRegexHandler to extract the cookie information with following parameters:

...