i am frustrated while trying to solve a problem. Perhaps anyone has a idea and can help me.
I have to search for a special pattern and then cut it off.
Input Data are many million rows like this:
|FIL=827|KAS=1|BON=4189|IND=1|BED=2610|LAD=8011|DAT=20140317|UHR=090500|TYP=LOGPLU|CEURO=1|BWWS=1|BDISP=1|BDRUCK=1|BSTART=1|BAH=1|BARTSCAN=1|BREPEAT=1|ZT0=TI_NUMMER|ZW0=2400850000000|ZA0=MF Sonnenblumen 2,5kg|ZT1=TI_MENGE|ZW1=1|ZT2=TI_WGR|ZW2=9|ZT3=TI_MWST|ZW3=1|ZT4=TI_PARA|ZW4=0|ZT5=TI_PARA2|ZW5=0|ZT6=TI_EPREIS|ZW6=7.99|ZT7=TI_GPREIS|ZW7=7.99|ZT8=TI_BASISDETAIL|ZW8=30|106
If there is a pattern like "ZW0=240"
this part has to be shortend to "ZW0=2400850"
Any Ideas ?