Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Web Address Validation

by hdb (Parson)
on Apr 22, 2013 at 13:24 UTC ( #1029867=note: print w/ replies, xml ) Need Help??


in reply to Web Address Validation

If this assignment were part of an obfuscation contest, I would say this:

$_=$,;$,=$/;$/=$_;$_=<DATA>;print/([-_a-z_-]+)\x2eco(?:m|m?\x2e[a-z][a +-z])\s/gi; __DATA__ http://www.tesco.com http://www.mmu.ac.uk http://www.amazon.com http:/ +/www.ikea.co.uk http://plus.maths.org


Comment on Re: Web Address Validation
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-08-29 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (276 votes), past polls