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

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

Re: silly regexp-replace question: how to delete empty lines


From: Peter Lee
Subject: Re: silly regexp-replace question: how to delete empty lines
Date: Wed, 03 Mar 2004 20:11:20 GMT
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (windows-nt)

>>>> leo  writes:

    leo> so i tried (replace-regexp "^$ " "ghdfg" nil nil nil) where the
    leo> linefeed was type as C-q C-j. but it doesn't find anything.

The following works.

(replace-regexp "^
" "blank line
" nil nil nil)


---------------------
  text is here
  and here and
  here

  further text is here

  an the endtext

---------------------



reply via email to

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