Thread: Perl substrings
View Single Post
Old Dec 13th, 2005, 9:00 AM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
yeah DaWei is about right, just strip off the . and -. Then it's really just a simple regular expression search.

i doubt that this is a homework question, since there are ~very~ few schools that teach perl.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote