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

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

How to change a variable amount of characters


From: Decebal
Subject: How to change a variable amount of characters
Date: Tue, 21 Jul 2009 09:21:44 -0700 (PDT)
User-agent: G2/1.0

For example I would like to change all the spaces at the beginnen of a
line to an underscore.
The following three lines:
  - first line
  - second line
    - more indentation

would become:
__- first line
__- second line
____- more indentation

Can this be done?


reply via email to

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