Khairul Azmi [KA], on Tuesday, November 2, 2004 at 16:43 (+0800)
contributed this to our collective wisdom:
KA> I am newbies in this regex world. I just want to extract the character
KA> double quotes at the beginning and the ending of a string.

KA> $string1 = "this is the string";

KA> so that $string1 would be 'this is the string' without the double quotes. Thanks

$string =~ /.*/;

this is very very easy, just read something more about regexes. If
you'll know them, you'll love them :)

-- 

 ...m8s, cu l8r, Brano.

[Incest is relatively boring.]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to