Re: extract anything between escape characters
From: Ing. Branislav Gerzo (konfera_at_2ge.us)
Date: 11/02/04
- Next message: Khairul Azmi: "Re: extract anything between escape characters"
- Previous message: Khairul Azmi: "extract anything between escape characters"
- In reply to: Khairul Azmi: "extract anything between escape characters"
- Next in thread: Khairul Azmi: "Re: extract anything between escape characters"
- Reply: Khairul Azmi: "Re: extract anything between escape characters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 2 Nov 2004 10:05:39 +0100 To: beginners@perl.org
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.]
- Next message: Khairul Azmi: "Re: extract anything between escape characters"
- Previous message: Khairul Azmi: "extract anything between escape characters"
- In reply to: Khairul Azmi: "extract anything between escape characters"
- Next in thread: Khairul Azmi: "Re: extract anything between escape characters"
- Reply: Khairul Azmi: "Re: extract anything between escape characters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|