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

Re: Regex Question

by frozenwithjoy (Curate)
on Nov 26, 2012 at 05:43 UTC ( #1005562=note: print w/ replies, xml ) Need Help??


in reply to Regex Question

I definitely recommend taking an in-depth look at perlretut.

For your current issue, I would use a regex that matches the beginning of a string (^) followed by 2 of any character (.{2}) and then an a:

/^.{2}a/


Comment on Re: Regex Question
Select or Download Code
Re^2: Regex Question
by shealyw2 (Initiate) on Nov 26, 2012 at 06:13 UTC
    Thank you, that just made all the other stuff i had read click. Also thanks for the link, always looking for new information to inhale.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2015-07-03 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls