Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Regex help pls

by elef (Friar)
on Jan 23, 2011 at 10:54 UTC ( #883761=note: print w/replies, xml ) Need Help??

in reply to Regex help pls

Depending on what exatly you want your regex to do, you could simply just cheat:

It's not elegant, but it's the simplest solution. Even if you need to match series of 3 or more digits, there is very little typing needed.

Obviously, it's pretty easy to expand this to only match strings that contain no other numbers, or strings that contain no letters etc. You gave no information as to what you actually want the regex to do, so no specific solution can be given.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-10-26 02:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (330 votes). Check out past polls.