Website hosting, cheap domain registration and search engine submission services

  Associate Sites:

Search engine submission and ranking

Cheap domain name registration 

 

Node: Replace, Next: , Previous: Search Case, Up: Search



Replacement Commands

Global search-and-replace operations are not needed often in Emacs, but they are available. In addition to the simple M-x replace-string command which is like that found in most editors, there is a M-x query-replace command which finds each occurrence of the pattern and asks you whether to replace it.

The replace commands normally operate on the text from point to the end of the buffer; however, in Transient Mark mode (see Transient Mark), when the mark is active, they operate on the region. The replace commands all replace one string (or regexp) with one replacement string. It is possible to perform several replacements in parallel using the command expand-region-abbrevs (see Expanding Abbrevs).

 

 

 

 

Disclaimers: This documentation is provided for the benefits of Active-Venture.com website hosting customers only.

 
Quotes: The opposite of talking is not listening. The opposite of talking is waiting.