findPatternIgnoreCase()

This function returns a text list with all substrings matching the given regular expression.

Evaluation of the regular expression is carried out ignoring the case.


Bash
findPatternIgnoreCase(text, regularExpression) #Output: Text list


Examples

Parser expression

Description

Bash
findPatternIgnoreCase("Grass is Green and Sky is Blue.", "red|green|blue")

This example returns the following text list:  

["Green", "Blue"]

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

text

text

Any given text.

regularExpression

text

A valid

regular expression

that grabs all substrings to be returned.

Output

This function returns a text list

If you don't want to ignore the case, have a look at the findPattern() function.

Parser expression

Output

Bash
findPatternIgnoreCase("Grass is Green and Sky is Blue.", "red|green|blue")

["Green", "Blue"]

Bash
findPattern("Grass is Green and Sky is Blue.", "red|green|blue")

[ ]


📚 Use cases and examples