Re: to parse a string
- From: "cc" <mmzzcc.c@xxxxxxxxx>
- Date: 27 Oct 2005 17:35:40 -0700
> > I am new in Perl. Here is my question for help.
>
> Then this is a good time to read the posting guidelines for this group
> to learn how you can help yourself, and help others help you.
>
> Please note that "write my code for me" requests are not very popular
> here.
Clearly, this is not what I wanted either; and this is why my sample
question from.
> > Given a string, e.g. "01010123", any sample code to scan it and then
> > find the "2" and "3" are not qualified in the string which requires
> > only "0" and "1"?
>
> Read about character classes and regular expressions:
>
> perldoc perlre
>
> perldoc perlreref
>
> perldoc perlop
I tried them before this email. Thank you anyway; can anybody else let
me know where I can find those kind of good general sample codes?
Thanks.
.
- Prev by Date: Re: Hash of hashes, of hashes, of arrays of hashes
- Next by Date: Re: Using regex to remove "redundant" tags
- Previous by thread: Re: if statement
- Next by thread: Re: to parse a string
- Index(es):
Relevant Pages
|
|