Find and Replace Text
Find and replace text instantly with advanced options. Text finder and replacer tool supports case-sensitive matching, whole word matching and regex for text.
Supported file formats: .txt
Error: Please check your input and try again.
Result:
About Find and Replace Text
Find and replace text in your content with advanced options. This tool supports case-sensitive matching, whole word matching, and regular expressions for powerful text manipulation.
Options
The tool provides several options to customize the find and replace operation:
- Case sensitive - When enabled, the search will match text exactly as typed, distinguishing between uppercase and lowercase letters. For example, 'Hello' will not match 'hello'.
- Whole word only - When enabled, the search will only match complete words, not parts of words. For example, searching for 'cat' will match 'cat' but not 'category' or 'scatter'.
- Use regular expression - When enabled, you can use regular expression patterns for advanced search and replace operations. This allows for complex pattern matching and replacement.
Basic Examples
-
Simple find and replace
Input: Hello World Find: World Replace: Universe Output: Hello Universe
-
Case sensitive replacement
Input: Hello hello HELLO Find: hello Replace: hi (Case sensitive: ON) Output: Hello hi HELLO
-
Whole word matching
Input: The cat in the category Find: cat Replace: dog (Whole word: ON) Output: The dog in the category
-
Regular expression
Input: 123-456-7890 Find: (\d{3})-(\d{3})-(\d{4}) Replace: ($1) $2-$3 (Regex: ON) Output: (123) 456-7890
Text Tools
Other tools you might like
Add or remove indentation from text lines instantly. Choose between spaces or tabs, specify the indent level, and transform your text quickly. Fast online tool.
Center-align text by adding padding to both sides to reach a specified width instantly. Center text with spaces, zeros, dashes. Fast online tool for text.
Align text to the right by adding padding to the left side to reach a specified width instantly. Right-align text with spaces, zeros. Fast online tool.
Align text to the left by adding padding to the right side to reach a specified width instantly. Left-align text with spaces, zeros. Fast online tool.
Add padding characters to the right side of text to reach a specified length instantly. Right-pad text with spaces, zeros, dashes. Fast online tool.
Add padding characters to the left side of text to reach a specified length instantly. Left-pad text with spaces, zeros, dashes. Fast online tool.
Remove whitespace characters from text instantly. Trim from start, end, both ends, all lines, or remove all whitespace. Fast online tool for cleaning text.
Extract a portion of text by specifying start and end positions instantly. Slice text by characters or lines, support negative indices. Fast online tool.
Truncate text to a specified maximum length instantly. Shorten long text with custom length, add ellipsis, and truncate at word boundaries. Fast online tool.
Join multiple lines of text into a single line using a separator instantly. Merge lines with comma, space, semicolon, or custom separator. Fast online tool.
Filter text lines based on various criteria instantly. Remove empty lines, keep or remove lines containing text, filter by regex patterns. Fast online tool.
Copy and paste text quickly and easily. Copy text to clipboard with a single click, paste text from clipboard, and manage your text. Fast online tool.
Count words, characters, lines, paragraphs, and sentences in your text instantly. Get detailed statistics including word count, character count. Fast online tool.
Add text to the beginning or end of each line instantly. Insert prefix, suffix, line numbers, or any custom text to multiple lines. Fast online tool.
Convert text between different case formats instantly. Transform to uppercase, lowercase, title case, camelCase, PascalCase, snake_case. Fast online tool.
Transform your text with various distortion effects instantly. Create alternating case, random case, stutter effect, Zalgo text, mirror text. Fast online tool.
Generate garbled and scrambled text instantly online. Create random gibberish text for testing, placeholder content, or text obfuscation. Fast online tool.
Convert SRT subtitle files to plain text instantly. Extract text from SubRip files, remove time codes and formatting. Fast online tool for converting subtitles.
Extract phone numbers from text. Phone number extractor automatically detects and extracts phone numbers in various formats including US and international.
Reverse text characters instantly. Text reverser tool inverts character order in any text for testing, encoding, creative writing and data processing purposes.
Convert VTT subtitle files to plain text instantly. WebVTT to TXT converter extracts text content from subtitle files and removes time codes automatically.
Repeat text multiple times instantly. Text repeat tool generates repeated text patterns with custom separators for testing, formatting and data generation.
Remove duplicate lines from text instantly. Deduplication tool automatically detects and removes duplicate lines with case-sensitive options and empty lines.
Extract URLs from text instantly. URL extractor tool automatically detects and extracts all URLs including http, https, ftp and www links from any text or file.
Sort lines alphabetically instantly with customizable options. Alphabetical line sorter supports ascending and descending order, case and empty lines for text.
Extract numbers from text instantly. Number extractor tool identifies and extracts all numeric values including integers, decimals and various number formats.
Format text instantly with smart sentence formatting. Text formatter tool replaces newlines with spaces, collapses multiple spaces and formats sentences.
Randomize and shuffle text instantly. Text randomizer tool can randomize characters, words, lines or shuffle all content to create randomized text versions.
Count lines in text and code instantly. Line counter tool provides detailed statistics including total lines, empty lines, characters and words count.
Generate small text, tiny text and Unicode text instantly. Small text generator tool with multiple styles including small caps, superscript and subscript.
Remove spaces, line breaks and whitespace from text instantly. Text space remover tool with multiple methods to clean up your text and remove unwanted spaces.
Sort an unordered list in alphabetical or natural order. You can sort in ascending or descending order. You can also sort based on character length/width.