Uses a regular expression (RE) to search a string for a pattern, starting from a specified position. The search is case-insensitive.
reFindNoCase(reg_expression, String [, start] [, returnsubexpressions])
→ returns any
1falsetruefalseoneoneallreFindNoCase("E", "test 123!")
Expected Result: 2
CF 2016+ example with all optional arguments
serializeJSON(reFindNoCase("E", "test 123!", 1, true, "ALL"))
Expected Result: [{ "len":[1], "match":["e"], "pos":[2]}]
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.