0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

さくらエディタ置換備忘録

Posted at

該当行以外削除

  • solrとかの結果からpathだけ取り出したい時があるので「/hoge/piyo/」で始まる行以外消すとかしたい

Ctrl+R -> 置換前:^(?!^/hoge/piyo) 置換後:なにもなし -> 置換対象:行削除 -> すべて置換

正規表現チェック、スラッシュの前に円マークいらないのか。

0
1
2

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?