Quantcast
Channel: Questions in topic: "props.conf"
Viewing all articles
Browse latest Browse all 1485

Remove non alphanumeric at the very start in props.conf

$
0
0
Is it possible to remove all non alpha-numeric when taking in data in the props.conf? I have tried wiht regex but i cant seem to get it. This is the data 20151029|12:31:00|MUREXFO | 1 |SessionCreate |MXDIS..&PATCHER | 0.21s| 0.22s|100%| -0.01s| 0% | |1065.44Mb 20151029|12:31:00|MUREXFO | 2 |RequestDocument3 |MXD~'##ISPATCHER | 0.01s| 0.03s|100%| -0.02s| 0% | |1065.65Mb 20151029|12:31:00|MUREXFO | 3 |RequestDocument3 |MXDISP..??ATCHER | 0.01s| 0.01s|100%| 0.00s| 0% | Regex i have - specifically the Command field ^(?:[^\|\n]*\|){5}(?P\w+)| *-*(?P\d+\.\d+)\w+\| This is what i have initally MXDIS..&PATCHER MXD~'##ISPATCHER MXDISP..??ATCHER This is what i get MXDIS MXD MXDISP This is what i want MXDISPATCHER MXDSPATCHER MXDISPATCHER Cheers for any help on this :)

Viewing all articles
Browse latest Browse all 1485

Trending Articles