Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Fetching 3 letters only

by thelenm (Vicar)
on May 23, 2003 at 19:08 UTC ( [id://260450]=note: print w/replies, xml ) Need Help??


in reply to Fetching 3 letters only

Actually, you don't need a regular expression for this... use tr instead.
my $count = "fileCapaber" =~ tr/AaBbCc//; print "Count is $count\n";

-- Mike

--
just,my${.02}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://260450]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-18 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found