home
regular expressions
5/9/2003 4:02:00 PM

Vee says:
oh, so i became a master of regular expressions
lo j says:
really
lo j says:
that's cool
Vee says:
yeah, check this one out that i got from the net
Vee says:
^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$
Vee says:
this one validates email address's
Vee says:
kinda long eh?
Vee says:
i made this one: ^\([0-9]{3}\)[0-9]{3}-[0-9]{4}$
Vee says:
it validates phone numbers
Vee says:
once you get the hang of it, they are very easy to write
Vee says:
just hard to read
lo j says:
So the other day Malcolm says to me "When we're in Belize, I'll take you into the jungle, maybe we can see a jaguar"
lo j says:
I say.."no little buddy that doesn't sound to safe"
Vee says:
oh i've heard stories around the camp-fire of crazy jaguars coming down from the forest and taking small babies away
lo j says:
oh that sounds horrible
lo j says:
heee
Vee says:
heh, tru dat
lo j says:
so Malcolm says "nah it's safe, lots of tourists go to camp there"
Vee says:
heh, and they get *eatin*!
lo j says:
and I think..."those are the tourists they make bad made-for-TV movies about"
lo j says:
you betcha

Link | Comments?
This was automagically filed under geek

<<<< Previous bling Next blong >>>>
Last 10 entries
two thousand and seventeen : 1/31/2017 : 4:44:00 PM
Luck, awareness and quantum entanglement : 11/19/2016 : 11:11:00 AM
the black journal : 10/18/2016 : 8:53:00 PM
Not aware of the tulips : 9/29/2016 : 2:30:00 PM
The practice : 8/9/2016 : 9:07:00 PM
Filling up my cup : 7/20/2016 : 11:41:00 PM
Happiness and intelligence : 7/7/2016 : 11:11:00 PM
My departure from Technology. : 5/27/2016 : 2:32:00 PM
Introducing the Zenbit 1.0 beta. : 1/15/2016 : 6:14:00 PM
Metric : 9/17/2015 : 10:50:00 PM