Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任意の数の先行または末尾のorを持つ文字列のみ911またはから一致させたい。1911*#
911
1911
*
#
私の正規表現:
[^0-9]\*[1-9]{3,4}[^0-9]*
以下のテスト コードは、false であると予想していたときに true を返します。
select Digits from (select '*11911#' as Digits) A where Digits rlike '[^0-9]\*[1-9]{3,4}[^0-9]*'
私は何を間違っていますか?