Find and replace text
Find and replace literal text or a regular expression.
Find and replace text
Type or paste to update the result automatically.
Your result appears here
Type, paste, or use an example. Copy your result when it is ready.
Find and replace text કેવી રીતે વાપરવું
Find and Replace Text swaps every occurrence of a word or phrase in your text for the replacement you enter. Matching is case-sensitive by default and treats the search as literal text. Switch on Use regular expression to search with a JavaScript pattern and reuse captured groups in the replacement, or leave Replace with empty to delete every match.
- Type or paste your source, or load an example.
- Change the basic settings or open Advanced mode to fine-tune the result.
- Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.
આ સાધનની સુવિધાઓ
Find and replace literal text or a regular expression.
- Find
- Set this value for your task.
- Replace with
- Set this value for your task.
- Use regular expression
- Set this value for your task.
- Match case
- Set this value for your task.
મર્યાદાઓ અને પ્રક્રિયા
Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.
ઇનપુટનું ઉદાહરણ
Hello world. A second line. Café, İstanbul, 日本語, and 👨👩👧👦.
વારંવાર પૂછાતા પ્રશ્નો
How do I use capture groups in a regex find and replace?
Enable Use regular expression, wrap parts of the pattern in parentheses and refer to them as $1, $2 and so on in Replace with. For example, the pattern (\d+)-(\d+) with the replacement $2-$1 swaps the two numbers.
Is find and replace case-sensitive?
Match case is on by default, so Apple will not match apple. Turn it off to replace every capitalization variant. In literal mode, special characters such as dots or brackets in the search text are matched exactly as written.
Why does my regular expression stop with an execution limit error?
Regular expressions run in a separate worker and are stopped after 750 milliseconds so the page does not hang. Patterns with heavy backtracking can hit this limit. Regex mode also accepts up to 500,000 characters of input and a 2,000-character pattern.
Where is my input processed?
This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.
What are the input limits?
Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.