Case insensitive modifier - i

Q

What is case insensitive modifier? How to use it?

How to write a regular expression to capture the "DIM" key word from this code example:

✍: FYIcenter.com

A

The regular expression to capture the "DIM" key word from the example code example can be written as: with the case insensitive modifier "i" specified:

Click the button to test this regular expression here online:

2013-02-03, 0👍, 0💬