I have been trying to craft a regex to eliminate the last CRLF in the 
following string but without success... Hmmm my Perl is getting rusty :-(

"[EMAIL PROTECTED]@ 
FRC\cM\cJLAXAA\cM\cJ001-95011243-10026822\cM\cJWBL/BLQ/T2/K37.0/NEW SPARE 
PARTS\cM\cJARR/AA100/22JUN\cM\cJSHP/BMC AIR FILTER\cM\cJ/VIA ROSLE 
115\cM\cJ/40059 MEDICINA  B\cM\cJ/IT\cM\cJCNE/YOSHIMURA R D OF AMERICA 
INC\cM\cJ/5420 DANIELS ST  SUITE A\cM\cJ/USA/\cM\cJ/US/91710 
CA\cM\cJRFA/19\cM\cJ"

The above string has many CRLF sequences but I need the  last set dropped.

I know you will get it in a second... but I tried many things without 
success.

Thanks

__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services; 
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to