> How about: > > /(\S+)=(.+?)(?=\s+\S+=|\s+|\z)/g > ^^^^ > > To catch trailing whitespace at the end of the line of data?
Actually, I meant: /(\S+)=(.+?)(?=\s+\S+=|\s*\z)/g ^^^ -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]