Finding * at begining of the line

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
jpg
Posts: 14
Joined: Fri Mar 28, 2008 10:21 pm

Finding * at begining of the line

Post by jpg »

I want to remove the * at the beginig of some lines. Thanks
User avatar
SteveH
Posts: 327
Joined: Thu Apr 03, 2003 11:37 am
Location: Edinburgh, Scotland
Contact:

Post by SteveH »

You need to perform the following search and replace:

Find what:
^\*
Replace with:
<nothing>
With regular expression enabled and POSIX regular expression syntax enabled in the general preferences.

The ^ character anchors the search to the start of a line and the backslash makes the search look for a real * character rather than a repetition.

Hope this helps.
Running TextPad 5.4 on Windows XP SP3 and on OS X 10.7 under VMWare or Crossover.
jpg
Posts: 14
Joined: Fri Mar 28, 2008 10:21 pm

Post by jpg »

THANKS
Post Reply