How to combine 2 filters (extract)

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

hr
Posts: 2
Joined: Tue Jul 20, 2004 12:17 pm

How to combine 2 filters (extract)

Postby hr » Wed Jul 21, 2004 11:41 am

Hi,

I am trying to use Textpipe Pro (evaluation), I usually use AWK.

Trial data
2048889V3 :3x 8may04 :COMMODORE
2150633V2 :3x 8may04 :FORD
2066691V1 :16,17,18,30apr04 1,2,8,9,10may :FORD

Expected Output
2048889V3,8may04
2150633V2,8may04
2066691V1,30apr04

I have created 2 filters (extract matches)
1. ^\w{9}
2. [0-9]+(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[0-9]{2}

It runs fine each of them but not both.
How to combine those filters together ?
or is there better way to do it such search & replace for example ?

Thanks

Hartono Rusmin
Consultant
Netmap Analytics Pty Ltd

Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 8 guests