Searching and replacing range of charactors

General questions about using TextPad

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

Post Reply
rita205
Posts: 1
Joined: Fri Mar 17, 2006 5:11 pm

Searching and replacing range of charactors

Post by rita205 »

Hi,

The file contains following lines
1.1.2.1. Test Name : Import all valid IACs
1.1.2.2. Test Name : Import invalid IACs
1.1.2.3. Test Name : Import valid and invalid IACs
1.1.2.4. Test Name : Resubmit valid and invalid IACs

I want to search for charactors from 1*****: and replace them with space.

Well you please help,
Thank you
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

Using regular expression in Textpad I get:

Find ^1[^:]+:
Replace _

Where _=space

I have used POSIX regular expression syntax, which can be selected from the Editor page of the Preferences dialog box. HTH

edit;Welcome to the forum!
Then I open up and see
the person fumbling here is me
a different way to be
Post Reply