What it does
ExtractRegularExpression takes regularExpression (an integer), text (a string) and array (a void), and answers an integer.
Syntax
ExtractRegularExpression(regularExpression integer, text string, array void) → integerParameters
| Name | Type |
|---|---|
| regularExpression | integer |
| text | string |
| array | void |
Every form returns
integer
Example · generated
DO Print(ExtractRegularExpression(1, "hello", 0)) Sync()LOOPExtractRegularExpression is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.