Paul Harwood wrote: > > I know that > > if ( /VALUE={1}(\d+)/ ) { > > looks for the first occurrence of value. How do I > find the last occurrence?
Firstly you don't need the {1} in there. All it's doing is insisting that there is only one equals character, which an unquantified /=/ will do anyway. To find the last occurrence, just chew up as many characters as possible from the object string first: /.*VALUE=(\d+)/ HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]