Search, Replace and Regex

Harry · 13 Sep 2026 · 1 views

Normal Find

Ctrl+F searches the file. Options include match case, whole word and wrap. Ctrl+G jumps to a line number directly.

Find in Files

Ctrl+Shift+F runs a search across a folder, great for auditing a codebase:

Directory:   D:\workspace\src
Filter:     *.java

Results list each match with file, line and snippet, and you can jump to them instantly.

Regex Replace

Enable Regular expression in Replace (Ctrl+H). Parentheses group matches and $1 inserts them back:

Find:    (isActive|isDeleted)
Replace: active$1

Mark All

Ctrl+F2 or Mark All highlights every occurrence with a bookmark-like marker, so totals and distribution become visible at a glance.

Key Points

  • Find in Files searches whole folders.
  • Regex replace uses $1 groups.
  • Mark All visualizes occurrences.
  • Ctrl+G jumps to exact lines.
Share this post:

Comments (0)

Please login or register to comment.