Hvad med PATINDEX-funktionen?
Mønstermatchningen i TSQL er ikke et komplet regex-bibliotek, men det giver dig det grundlæggende.
(Fra Books Online)
Wildcard Meaning
% Any string of zero or more characters.
_ Any single character.
[ ] Any single character within the specified range
(for example, [a-f]) or set (for example, [abcdef]).
[^] Any single character not within the specified range
(for example, [^a - f]) or set (for example, [^abcdef]).