[Top][All Lists]

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

Re: replacing whitespace (regexp question)

From: Kevin Dziulko
Subject: Re: replacing whitespace (regexp question)
Date: Tue, 18 Feb 2003 08:21:51 -0500 (EST)

You can use:

M-x replace-regexp

then at the prompt type:
^ +

then at the second prompt, don't type any thing, just hit enter.

Hope this helps.

On 17 Feb 2003, Henry Chan wrote:

> How do I replace the whitespace at the beginning of a line with nothing
> i.e.
> I want to perform something like:
> $str =~ s#^\s+##;
> thx,
> Henry
> _______________________________________________
> Help-gnu-emacs mailing list

reply via email to

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