ReMatch

Uses a regular expression (RE) to search a string for a pattern.

Method Signature

ReMatch(reg_expression=[string], string=[string])

Arguments

Argument
Type
Required
Description
Default

reg_expression

string

true

The regular expression to search for

string

string

true

The string to serach in

Examples

reMatchNoCase Example

Uses a regular expression (RE) to search a string for a pattern.

Run Example

string = "1234AbcacAcdd";
writeDump( reMatchNoCase( "[A-Z]+", string ) );

Additional Examples

Run Example

writeDump( REMatchNoCase( "[A-Z]+", "12AbcacAcdd" ) );

Last updated

Was this helpful?