From: Eliezer Croitoru Date: 2012-08-16T03:50:16+09:00 Subject: Re: string processing On 8/15/2012 9:43 PM, Fosiul Alam wrote: > Hi > i am trying to automate cacti graph > > after i add the device, its give me a result like bellow > > > Success - new device-id: (18) > > problem is : how will i just get number 18 ?? > > thanks for help > a regular expression match of a number can match like that /\((\d)\)/ Regards, Eliezer -- Eliezer Croitoru https://www1.ngtech.co.il IT consulting for Nonprofit organizations eliezer ngtech.co.il