Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Web Address Validation

by hdb (Prior)
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 exploiting the Monastery: (3)
As of 2014-09-15 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls