Louis Davidson continues a series on regular expressions in SQL Server:
There are currently only 4 flags that SQL Server supports and they are used to change some of the fundamental ways that the expressions are applied. These flags are:
i
– insensitivec
– case sensitivem
–^
and$
match end of line, not entire strings
– single line, dot matches newlineIn Part 6, I covered
i
andc
, no[w] let’s dom
ands
. These flags are not ones I expect to use all that often, but they are definitely useful to know.
Read on to see how they work, as well as some of the issues Louis ran into along the way.