Bulk Replace
48 guides

Find and replace guides: regex, bulk edits and fixes on Windows

Step-by-step guides for changing text and code across many files at once: regex patterns, PowerShell and editor methods, troubleshooting and safe ways to preview and undo.

How-to

How to Find and Replace Text in Multiple Files at Once on Windows

Find and replace text in multiple files at once on Windows. Compare PowerShell, editor find-in-files and a batch tool, with preview and undo steps.

6 min readRead guide →
How-to

How to Find and Replace in Every File in a Folder and Its Subfolders

Replace text in every file in a folder and all its subfolders on Windows. Recursive PowerShell, editor and batch-tool methods, plus how to limit the scope.

5 min readRead guide →
How-to

How to Replace Text in Multiple Files With PowerShell

Copy-ready PowerShell commands to replace text in multiple files, with -replace vs .Replace(), encoding fixes, a safe dry run and backup steps.

5 min readRead guide →
How-to

How to Use Notepad++ to Replace Text in All Files in a Folder

Use Notepad++ Find in Files to replace text across a whole folder, with filters, subfolders and regex. Plus how to protect yourself before you click.

5 min readRead guide →
How-to

How to Find and Replace in All Files in VS Code

Replace text across every file in a VS Code workspace with Ctrl+Shift+H. Use include and exclude globs, regex groups and preview, and know the limits.

5 min readRead guide →
How-to

How to Find and Replace Multiple Words at Once Across Many Files

Replace a whole list of words in one pass instead of running find and replace again and again. Rule order, PowerShell chaining and batch-tool steps.

5 min readRead guide →
How-to

How to Bulk Find and Replace Using a List of Words From a CSV

Keep your find and replace pairs in a spreadsheet and apply them to every file in one run. CSV layout tips, a PowerShell loop and a no-script method.

5 min readRead guide →
Web and code

How to Change Every http:// Link to https:// in Your Website Files

Update hard-coded http links to https across every HTML, CSS, JS and PHP file of a site. Safe patterns, what to leave alone, and how to check the result.

5 min readRead guide →
Web and code

How to Replace an Old Domain Name With a New One Across Your Website Files

Moving to a new domain? Replace the old domain in every HTML, CSS, JS and config file safely, including www and non-www forms, emails and escaped URLs.

5 min readRead guide →
Regex

How to Use Capture Groups in a Regex Find and Replace

Learn regex capture groups for find and replace: reorder text, keep part of a match, use named groups and avoid the $10 trap. Tested, copy-ready examples.

5 min readRead guide →
Troubleshooting

How to Undo a Find and Replace That Changed Multiple Files

Made a bad replace across many files? How to recover with Previous Versions, version control or backups, and how to make every future run undoable.

5 min readRead guide →
How-to

How to Find and Replace a Block of Multiple Lines in Many Files

Replace a block that spans several lines, such as a menu, script tag or comment, across many files. Line-ending pitfalls, regex patterns and safe steps.

5 min readRead guide →
How-to

How to Replace a Word or Characters in Many File Names on Windows

Replace a word, prefix or character in hundreds of file and folder names on Windows. File Explorer limits, a PowerShell rename command and a safer way.

5 min readRead guide →
How-to

How to Find Every File That Contains a Word or Phrase on Windows

Search inside files for a word or phrase on Windows with File Explorer, findstr, Select-String and editors. List matching files and counts in seconds.

5 min readRead guide →
Reference

Regex Cheat Sheet for Find and Replace: Patterns You Will Actually Use

A practical regex cheat sheet for find and replace: anchors, classes, quantifiers, groups, look-arounds and replacement syntax, with real file examples.

4 min readRead guide →
How-to

How to Delete Every Line Containing a Word in Multiple Files

Remove every line that contains a word, tag or setting from many files at once. Regex patterns that also remove the line break, plus PowerShell options.

5 min readRead guide →
Troubleshooting

Why Special Characters Break After a Find and Replace, and How to Fix It

Seeing garbled accents or odd symbols after a find and replace? Learn why encodings get changed, how to repair the files and how to stop it happening.

5 min readRead guide →
Web and code

How to Update the Copyright Year on Every Page of a Static Website

Change the copyright year in the footer of every HTML page in one pass. Regex for single years and ranges, what not to touch, and a way to stop doing it.

5 min readRead guide →
Regex

How to Change Date Formats With Regex Find and Replace

Convert dates such as 31/12/2025 or 12/31/2025 to ISO 2025-12-31 with regex find and replace. Copy-ready patterns, edge cases and how to test them first.

5 min readRead guide →
How-to

How to Find and Replace Whole Words Only, Without Changing Parts of Words

Stop find and replace changing parts of longer words, like cat in category. Use whole-word options and regex word boundaries, and know where they fail.

5 min readRead guide →
Buying guide

Best Find and Replace Software for Windows: What to Look For

Choosing find and replace software for Windows? Compare built-in tools, code editors and batch tools on preview, undo, regex, encodings and scale.

5 min readRead guide →
Web and code

How to Replace the Header, Menu or Footer on Every Page of a Static Site

Update the menu, header or footer across every page of a static HTML site in one pass. Regex block patterns, marker comments and safe preview steps.

5 min readRead guide →
Web and code

How to Rename a Variable or Function Across Multiple Files

Rename a variable, function or class across a whole codebase. When to use IDE refactoring, when text replace is fine, and how to avoid partial matches.

5 min readRead guide →
Troubleshooting

Find and Replace Not Finding Text You Can See? Here Is Why

Your find and replace says 0 matches but the text is right there. Fix hidden spaces, line endings, encoding, case, regex escaping and file filter problems.

5 min readRead guide →
Regex

Regex to Match Everything Between Two Strings, Including Across Lines

Match and replace everything between two markers with regex. Lazy vs greedy, across line breaks, keeping or dropping the markers, with tested examples.

6 min readRead guide →
Regex

Regex Lookahead and Lookbehind Explained With Find and Replace Examples

Learn regex lookahead and lookbehind with practical find and replace examples: match before or after text, exclude words and add thousand separators.

5 min readRead guide →
Troubleshooting

Regex Find and Replace Not Working? Common Causes and Fixes

Regex matches nothing, too much, or $1 shows up literally? Fix regex mode, escaping, greedy quantifiers, anchors, line endings and replacement syntax.

5 min readRead guide →
Regex

How to Escape Special Characters in a Regex Find and Replace

Which characters need escaping in regex, how to escape them in the find and the replace boxes, and quick ways to match a literal URL, path or price.

5 min readRead guide →
How-to

How to Remove Blank Lines From Many Text and Code Files at Once

Delete blank lines, or lines with only spaces, from many files at once. Regex patterns for Windows and Unix line endings, editor steps and PowerShell.

5 min readRead guide →
Regex

How to Remove Trailing Spaces and Tabs From Every File in a Project

Strip trailing spaces and tabs from every line of every file in a folder. The regex to use, editor settings that prevent it, and what to check first.

5 min readRead guide →
Regex

How to Add Text to the Start or End of Every Line in Many Files

Add a prefix or suffix to every line in one file or hundreds, using regex ^ and $ anchors. Skip blank lines, wrap lines in quotes and use PowerShell.

5 min readRead guide →
Regex

Regex to Remove HTML Tags: Patterns, Pitfalls and Safer Options

Strip HTML tags with regex find and replace, remove a specific tag or attribute, and learn where regex breaks on HTML so you do not damage your files.

6 min readRead guide →
How-to

How to Convert Tabs to Spaces (or Spaces to Tabs) in Many Files

Convert tab indentation to spaces, or spaces to tabs, across many files at once. Regex that only touches indentation, plus editor and .editorconfig tips.

5 min readRead guide →
How-to

How to Remove a Prefix or Suffix From Many File Names on Windows

Strip a prefix such as IMG_ or a suffix like _final from hundreds of file names on Windows. PowerShell commands, regex anchors and safer batch steps.

5 min readRead guide →
Web and code

How to Change an IP Address or Hostname in Many Config Files at Once

Change an old IP address or hostname across every config, ini and script file. Exact-match regex so 10.0.0.1 never hits 10.0.0.15, plus a safe checklist.

4 min readRead guide →
Web and code

How to Change a Folder Path Referenced in Many Files at Once

Moved a folder or drive? Update every reference to the old path in scripts, configs and project files. Backslash escaping, forward slashes and UNC paths.

5 min readRead guide →
Web and code

How to Find and Replace Values in Many XML and JSON Files Safely

Change a value, attribute or key across many XML and JSON files without breaking them. Patterns that respect quotes and escaping, and how to validate.

5 min readRead guide →
How-to

How to Find and Replace Values in Many CSV Files Without Opening Excel

Correct a value in many CSV files at once without opening each one in Excel. Keep leading zeros and dates intact, match whole fields and avoid commas.

4 min readRead guide →
How-to

How to Find and Replace Text in Many SRT Subtitle Files at Once

Fix a misspelled name, remove hearing-impaired tags or update terms across a season of SRT subtitles at once, without breaking the timing lines.

4 min readRead guide →
How-to

How to Update Product Names and Terminology Across a Whole Docs Folder

Rename a product, feature or term across hundreds of Markdown, HTML and text docs. Build a term list, handle case and plurals and review before saving.

5 min readRead guide →
How-to

How to Limit Find and Replace to Specific File Types and Folders

Limit a find and replace to .html, .php or any extension you choose, and skip images and binaries. Filter syntax for PowerShell, editors and batch tools.

5 min readRead guide →
How-to

How to Do a Case-Sensitive Find and Replace Across Multiple Files

Replace Apple but not apple across many files. Case-sensitive options in editors, -creplace in PowerShell, and keeping capitalization when you replace.

4 min readRead guide →
Reference

Regex Backreferences in the Replacement: $1, \1 and Named Groups

When to use $1, \1, ${name} or $& in a regex replacement, which Windows tools use which syntax, and how to insert a literal dollar or backslash.

4 min readRead guide →
Reference

Greedy vs Lazy Regex Quantifiers Explained With Real Examples

Why .* grabs too much and how .*? fixes it. Greedy and lazy quantifiers explained with HTML and log examples, plus a faster negated-class alternative.

5 min readRead guide →
Reference

UTF-8 vs ANSI vs UTF-16: Which Text Encoding Should Your Files Use?

UTF-8, UTF-8 with BOM, ANSI and UTF-16 explained in plain English: how to tell them apart on Windows, when each is used, and when to convert.

5 min readRead guide →
Reference

Wildcards vs Regular Expressions in Find and Replace: Which Should You Use?

Wildcards or regex for your find and replace? See how * and ? differ between the two, side-by-side examples, and when plain text is the safest choice.

5 min readRead guide →
Buying guide

Why an Offline Find and Replace Tool Beats Uploading Your Files

Why to keep find and replace offline: privacy of client files and source code, no upload limits, and a one-time license instead of a subscription.

4 min readRead guide →
Buying guide

Find and Replace Tool vs PowerShell Script: Which Is Right for the Job?

Should you script a bulk find and replace in PowerShell or use a dedicated tool? Compare preview, undo, encodings, repeat jobs and the time it takes.

5 min readRead guide →

No guides match that search. Try a different word.