This function returns the first match from a text a with the regular expression b.
For multimatches please use function "regexExtract()".
Parameters
Parameter | Description |
|---|---|
a | The text to which the regular expression is applied. |
b | The regular expression. |
Example
Parameter a | Parameter b | Result |
|---|---|---|
This is a text1 and a text2. | a text. | a text1 |