--- "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. >
What result string do you want? for example? Best Regards, Jeff (joy) Peng ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/