Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: want regex to find 2nd and 3rd occurence of a character

by DrHyde (Prior)
on May 23, 2008 at 10:03 UTC ( [id://688117]=note: print w/replies, xml ) Need Help??


in reply to want regex to find 2nd and 3rd occurence of a character

Instead of using split() and a complicated regex, I think I'd use index() and substr().
  • Comment on Re: want regex to find 2nd and 3rd occurence of a character

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-24 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found