help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

replacing two consecutive words where the two words could be separated b


From: Nobuko Three
Subject: replacing two consecutive words where the two words could be separated by multiple spaces or newlines.
Date: Fri, 17 Apr 2009 01:06:00 -0700 (PDT)

I wanted to replace all occurrences of `a integer' with `an integer' in a
latex file. But a simple query replace would replace the first `a integer'
of the following paragraph, but not the second one because the second one is
actually separated by a newline and two spaces (the indent).


  This is a integer. That is a
  integer. ...

What is an automated way to change paragraphs like above to paragraphs like
below?

  This is an integer. That is an
  integer. ...
-- 
View this message in context: 
http://www.nabble.com/replacing-two-consecutive-words-where-the-two-words-could-be-separated-by-multiple-spaces-or-newlines.-tp23093020p23093020.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]