reMatchNoCase

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

reMatchNoCase(reg_expression, string) → returns array

Argument Reference

reg_expression string
Required

Regular expression for which to search. Case insensitive.

string string
Required

A string or a variable that contains one. String in which to search.

Examples
Sample code invoking the reMatchNoCase function

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

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

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub