Bagaimana dengan fungsi PATINDEX?
Pencocokan pola di TSQL bukanlah pustaka regex yang lengkap, tetapi ini memberi Anda dasar-dasarnya.
(Dari Buku Daring)
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]).