replace - [UNMAINTAINED] Command line search and replace utility

  •        27

You can now use replace and search from the command line.


nomnom : 1.6.x
colors : 0.5.x
minimatch : ~0.2.9



Related Projects

Command-line-text-processing - :zap: From finding text to search and replace, from sorting to beautifying text and more :art:

  •    Shell

Learn about various commands available for common and exotic text processing needs. Examples have been tested on GNU/Linux - there'd be syntax/feature variations with other distributions, consult their respective man pages for details. ⚠️ 🚧 Work in progress, stay tuned...

vim-easygrep - Fast and Easy Find and Replace Across Multiple Files

  •    Vim

EasyGrep is a plugin for performing search and replace operations through multiple files. Vim already has builtin support for searching through files with its 'vimgrep' and 'grep' commands, but EasyGrep makes using them much, much easier.

Evotiva's DotNetNuke Search and Replace Module

  •    CSharp

A DotNetNuke Search and Replace tool. It allows you to search (and optionally replace) text within any table in the DotNetNuke database. More at


  •    C

Find And Replace Text command line utility. New amp; improved version of the well-known grep command, with advanced features such as: case-adaption of the replace string; find (amp; replace) in filenames, auto CVS edit.

csart - Clever-Search-And-Replace-Text

  •    Python

csart - Clever-Search-And-Replace-Text Search, find and replace text in named files or recursive in all directories (-r). If choosen, strings are only replaced if another key-string occures in the line (-w)

Xml search and replace

  •    CSharp

XmlSearchReplace is a free commandline utility to replace text inside an xml document. It gives the user control over where in the xml document the search should be done. The tool allows users to search and replace texts only inside xml element/attribute name and/or value.

grasp - JavaScript structural search, replace, and refactor

  •    LiveScript

JavaScript structural search, replace, and refactor. Demo, documentation, and more:

Search-Replace-DB - A PHP search replace tool for quickly modifying a string throughout a database

  •    PHP

This script was made to aid the process of migrating PHP and MySQL based websites. It has additional features for WordPress and Drupal but works for most other similar CMSes. If you would like Search Replace DB to detect your WordPress installation, you should install it within a new subfolder within your WordPress installation.


  •    C++

regexxer is a nifty GUI search/replace tool featuring Perl-style regular expressions. If you need project-wide substitution and you're tired of hacking sed command lines together, then you should definitely give regexxer a try.

gulp-replace - A string replace plugin for gulp

  •    Javascript

gulp-replace can be called with a string or regex. The string to search for.

subs : a search amp; replace utility

  •    C++

subs is a command line utility for search and replace a text into many files in one directory that match the selected match.

RegEx Search/Replace Tool

  •    Java

Free GUI Based Search and Replace Tool using Regular Expression

pru - Pipeable Ruby - forget about grep / sed / awk / wc ... use pure, readable Ruby!

  •    Ruby

Pipeable Ruby - forget about grep / sed / awk / wc ... use pure, readable Ruby!

pandashells - :panda_face: Bringing the python data stack to the shell prompt

  •    Python

For decades, system administrators, dev-ops engineers and data analysts have been piping textual data between unix tools like grep, awk, sed, etc. Chaining these tools together provides an extremely powerful workflow. The more recent emergence of the "data-scientist" has resulted in the increasing popularity of tools like R, Pandas, IPython, etc. These tools have amazing power for transforming, analyzing and visualizing data-sets in ways that grep, awk, sed, and even the dreaded perl-one-liner could never accomplish.

grunt-replace - Replace text patterns with applause.

  •    Javascript

Replace text patterns with applause. Define patterns that will be used to replace the contents of source files.

FAR - Find And Replace

  •    Java

Search and replace operations on file content accross multiple files. Recursive operations within entire directory trees. FAR comes with support for regular expressions (regex) over multiple lines, automatic backup and various character encodings.

flashtext - Extract Keywords from sentence or Replace keywords in sentences.

  •    Python

This module can be used to replace keywords in sentences or extract keywords from sentences. It is based on the FlashText algorithm. Documentation can be found at FlashText Read the Docs.

jq - Command-line JSON processor

  •    C

jq is a lightweight and flexible command-line JSON processor. jq is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text.

SharePoint Find and Replace


SharePoint Find & Replace allows you to replace a specific string within a site collection with a different value. For example, when you change a list name or moved a site to a new URL. This tool will allow you to quickly replace the old names with the new ones in minutes!

grunt-text-replace - General purpose text replacement for grunt

  •    Javascript

Replace text in files using strings, regexs or functions. replace is the top level task that goes in your grunt.initConfig({}). It is a multi-task, meaning that it must contain targets, which you can name anything you like.