LoginSignup
0
0

More than 3 years have passed since last update.

正規表現で特定の単語が直前(直後)にある時だけマッチさせる(させない)ようにする方法

Posted at

正規表現の先読み、後読みを使う

こんなやつ
?=
?!
?<=
?<!

参考サイト
https://abicky.net/2010/05/30/135112/

0
0
0

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
0