LoginSignup
0
1

More than 3 years have passed since last update.

正規表現で単語にマッチさせる方法

Posted at
seki 087-7472-3778
hayashiwww 899-3455-2344
hataka 738-3838-2747

hatakaだけにマッチさせたい時は以下のようにする

\b\w{6}\b

\bは単語の境界を認識するメタ文字である。

0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1