Find and Replace
Text & Code · Free Online Tool
Find and replace with regex and capture group support.
Capture groups
Find (\w+) (fox|dog) → Replace $1 animal ($2)
Use $1, $2… for capture groups, $& for the whole match.
Regex Powered
Use full regular expressions for flexible pattern matching and substitution.
Capture Groups
Reference captured groups with $1, $2 in the replacement to restructure matches.
Flags & Live Count
Toggle g/i/m flags and see the live match count as you refine your pattern.
How to Use Find and Replace
- 1Enter or paste your text or code into the input area.
- 2Choose the desired operation (format, convert, analyze, etc.).
- 3Click the action button to process.
- 4Copy the result from the output area.
Features
- ✓100% free — no signup, no subscription, no ads
- ✓Runs entirely in your browser — data never leaves your device
- ✓Fast and lightweight — instant results
- ✓Cross-platform — works on desktop, tablet, and mobile
Frequently Asked Questions
Can I format code in different styles?
Yes, the SQL Formatter and other code tools support multiple formatting options and indentation styles.
Is regex testing case-sensitive?
The Regex Tester supports case-sensitive and case-insensitive matching, along with global and multiline flags.
Can I process multiple lines at once?
Yes. Most text tools operate on the whole input, so you can paste multi-line content and apply the operation to every line in a single pass.
Is there a character limit?
There is no fixed limit — the tools run in your browser, so the practical ceiling is your device memory. Very large inputs may slow down rendering.
Related Tools
CSV Escaper
Add quote escaping for CSV fields.
SQL String Escaper
Escape special characters in SQL string literals.
String Case Detector
Detect if string is camel/snake/kebab/const case.
Text Counter
Count characters, words, lines, paragraphs.
Text Cleaner
Remove extra spaces, blank lines, and breaks.
Case Converter
Convert to UPPER, lower, camelCase, snake_case.
Markdown Previewer
Preview Markdown rendered as HTML in real time.
HTML ↔ Markdown
Convert between HTML and Markdown.