Replace, Preprocess, and Encodings
Preview replacements, search transformed files, and handle compressed or non-UTF8 data.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Replacement previews
## Preprocessors and compressed files
## Encodings and text quirks
More in ripgrep
Real-World Code Search Recipes
High-value ripgrep recipes for refactors, security scans, framework audits, logs, and docs.
Performance, Debugging, and Multiline Search
Understand ripgrep defaults, debug missing results, and use PCRE2 or multiline search when required.
Config and Shell Integration
Persist preferred flags, create custom types, and combine ripgrep with fd, fzf, git, and editors.
Output, Context, and Reporting
Control headings, context lines, counts, paths, columns, and machine-readable output.
Globs, Types, and Ignore Rules
Control what ripgrep searches with globs, type filters, hidden files, and ignore behavior.
Regex and Fixed Strings
Use basic regex, PCRE2, word boundaries, alternation, and literal searches with ripgrep.