Case insensitivity with regex
You can use /i
at the end of a regex to match with case insensitivity.
The regex: /hello/i
Will match HELLO
, hello
, and Hello
You can use /i
at the end of a regex to match with case insensitivity.
The regex: /hello/i
Will match HELLO
, hello
, and Hello