imatch(string,pattern)

Description

This is the same as match() except that the case (upper or lower) is ignored
Returns that part of the string that matches the patern
string can be any valid string or reference to a folder or item
the pattern can be any Regex pattern, see examples

Example

imatch(T 123456 234567,\s*t\s+(\d+)\s+\d+\s*)
returns the string 123456

Related Rules

match(), replace(), ireplace()