LoginSignup
2
1

More than 5 years have passed since last update.

ATOM : 複数のワードで検索する(OR検索)

Posted at

1. ほげ または ふが という文字で検索する

検索ウィンドを表示して [.*] をチェックして、正規表現を有効にする

(ほげ|ふが)

image

2. 検索ワードを増やす

(ほげ|ふが|めも)

image

3. ~dateという文字を検索する

.*date

image

4. dateという単語を検索する

[a-z].*date

image

正規表現を使うといろんな検索や置換が可能になる

正規表現を有効にしていると特殊記号を検索できなくなるのでその場合は
正規表現のチェックを外すか、特殊記号の前に \ (バックスラッシュ)をつける

また、ATOMでなく別のエディタでも上記検索は可能です

2
1
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
2
1