Serch in Result without file reference

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
cj2610
Posts: 2
Joined: Wed Jun 24, 2009 9:07 pm

Serch in Result without file reference

Post by cj2610 »

I want only the line found in the search result without file name along with:

example:

I want:
2000434266841178629257 MTX00

I do not want as
CONSOLIDATED.txt(13183): 2000434266841178629257 MTX00

Pls help
Thanks in advance,
User avatar
Bob Hansen
Posts: 1516
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

Search for: ^.*:_(.*)
Replace with: \1

Using _ for space character.


Use the following settings:
-----------------------------------------
[X] Regular expression
Replace All
-----------------------------------------
Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
-----------------------------------------
Hope this was helpful.............good luck,
Bob
cj2610
Posts: 2
Joined: Wed Jun 24, 2009 9:07 pm

Thank a lot

Post by cj2610 »

It worked great; thank you so much
:D
Post Reply