Checks the supplied Input String for the defined Search string, which can be a Regular Expression, or Plain Text using the Flags, or Case sensitivity to define the search,and either find up to Number of Groups sets of characters that match or replace the first or all occurrences found, by the Replacement String.

 

Using Regular Expressions to extract a number of Groups of characters from a string. This can be set up to extract Once or Repeatedly, the Repeatedly is useful for extracting information from a multi-line csv file and returns a list of Biskits each holding the appropriate number of Groups for each line. See Pattern Matching in Conditions for more information on valid Regular Expressions.

 

Click to expand

 

Using Plain text or Regular Expressions to find text in the input string and Replace First occurrence or Replace all occurrences.

 

Click to expand

 

Returns whether the text matches, a list of Biskits called Repeats, a number of groups# of characters requested to be found and outputString (the string once replacements are made), for use with subsequent Actions.

Capturing Groups

Capturing groups are numbered by counting their opening parentheses from left to right. In the expression ((A)(B(C))), for example, there are four such groups:

1    

((A)(B(C)))

2    

(A)

3    

(B(C))

4    

(C)

 

Group zero always stands for the entire expression.

Capturing groups are so named because, during a match, each subsequence of the input sequence that matches such a group is saved.

 

Properties Available for Child Actions To Use

The following properties are available for use in any child or descendant action:

 

Properties

Notes

matches

Whether the expression matches or not.

group#

Each text grouping that has been found.

outputString

The changed string when replace used.