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.
10 文字以上を必要とする正規表現をどのように示しますか? 「*」が 0 より大きく、「+」が 1 より大きいことは知っていますが、10 より大きい値を要求する構文は何ですか? 皆さんありがとう!!!!
ブレース表記を使用します。たとえば、正規表現a{10,}は 10 文字以上に一致しaます。a{10,20}10 秒以上 20a秒以下に一致します。
a{10,}
a
a{10,20}
正規表現がどのように見えるかによって異なりますが、これはおそらくうまくいくでしょう:
[^stuff]{10,}
{10,}
{,10}
{10,15}