Replace all after a character

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Rickje
Posts: 2
Joined: Thu Dec 18, 2003 10:14 am

Replace all after a character

Post by Rickje »

Hi,

I have the following text :

3982#4353
244#2235
4534#4566
34536#492
AB342#547
56NGHF#123
and further

Now I wanna delete everything after the #-char including # itself. So the output must be :

3982
244
4534
and further.

Thanks for your help !
ben_josephs
Posts: 2464
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Find what: #.*
Replace with:

[X] Regular expression
(I.e., replace with nothing.)
Post Reply