Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: scan for phone numbers

by strat (Canon)
on Mar 07, 2002 at 22:08 UTC ( [id://150159]=note: print w/replies, xml ) Need Help??


in reply to scan for phone numbers

There is a telephonenumber format that looks about like (I hope I remember correctly):

$telephoneNumber =~ /^\+(\d\d)\-(\d+)(:?\-(\d+))+$;/
where $1 +\d\d stands for the countrycode, $2 the areacode (=citycode), $3 the number, and maybe $4 for a sharing number (don't know the english word).

e.g: +49-69-44885599
or: +49-69-123-12345
(whereas the + is replaced by a local far distance call numbers, e.g. 00 in Germany, and I think 1 in the USA). But I'm not quite sure if this format is really a standard or not (will try to find the definition again; was something with ISDN-Number in X400 or the like).

Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-26 00:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found