On Dec 13, 2007 6:12 AM, Sayed, Irfan (Irfan) <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a string like this > > CLEARCASE_CMDLINE = (mkact -nc notme sprint) Now with the regular > expression what I want is only those characters before closing braces > excluding white space character. I mean to say that if regular > expression encounter the white space character then it should stop. > So my output should come as sprint. > > Regards > Irfan.
What have you tried? What about it is confusing you? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/