FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)//
========ReturnRegexHandler=========
==== Description ====
This [[en:software:tim:actionhandler:|handler]] returns the results of a **regular expression** as a string.
------
==== Action Class ====
com.dooris.bpm.actionhandler.ReturnRegexHandler
\\
----
==== Event Type ====
any
==== Action Name ====
any
==== Parameter ====
=== regex ===
Here 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.
^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$.
=== content ===
The tested string, present as either a variable (${Prozessvariable}) or a string directly \\
=== writeNameInVariable ===
The process variable to which the results are written\\
=== matchAll ===
matchAll(Boolean) = true : all results are written to the process variable, false : only the first result will be stored.
By default, matchAll is set to true.
----
====Example====
{{ :software:tim:actionhandler:returnregexhandler.png }}