regex - SQL wildcards: Dictating amount of characters and values for each character -
i want specific substring between 3 , 5 characters. each character can numeric [0-9] or [a-z].
the substring i'm looking either word or number. know how dictate exact amount of chars "_" , using "[]" tell sql characters i'm looking how mix them?
i've tried kind of nonsense nothing worked.
this dirty works (at least in c# ):
\b\w{3}\b|\b\w{4}|\b\\bw{5}\b
you can replace \w [a-za-z0-9] if need to, \w includes _
Comments
Post a Comment