string.REMatchNoCase()

Uses a regular expression (RE) to search a string for a pattern, starting from a specified position.

string.REMatchNoCase( reg_expression=string )

Returns: Array

Argument Description
reg_expression
string, required

Regular expression for which to search. Case-insensitive.

Alias: regex

Examples

str = "count 1234 or one,two,three,four.."
res = str.rematchnocase("[A-Z]+");
writeDump(res);
res = str.rematchnocase("[a-z]+");
writeDump(res);
res = str.rematchnocase("(0-4)");
writeDump(res);
res = str.rematchnocase("[0-4]*");
writeDump(res);
res = str.rematchnocase("[0-9]+");
writeDump(res);

See also