To match a regular expression that is case insensitive, you can use the POSIX regular expression (~*) from the pattern matching operators.

BY Best Interview Question ON 21 Jul 2020

Example

'umesh' ~* '.*Umesh.*'