[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regular expression for special character
From: |
Peter Dyballa |
Subject: |
Re: regular expression for special character |
Date: |
Sun, 7 Dec 2008 22:35:35 +0100 |
Am 07.12.2008 um 18:53 schrieb tomer:
i need to filter (blank lines space,tabs,empy line mix of them)
(replace-regexp "^\([ ]+\|\)
" "")
IOW (in other words): replace all occurrences of strings that consist
of a series of one or more SPC or of one or more TAB or a mixture
them or of nothing with nothing.
You can test such regular expressions with isearch-forward-regexp or
isearch-backward-regexp.
BTW, the linefeed you see in my regexp *is* a linefeed.
--
Greetings
Pete
It's not the valleys in life I dread so much as the dips.
– Garfield