Questions tagged [phone-number]

A telephone number or phone number is a sequence of digits used to call from one telephone line to another in a public switched telephone network(PSTN). When telephone numbers were invented, they were short — as few as one, two or three digits — and were given orally to a switchboard operator. As phone systems have grown and interconnected to encompass the world, telephone numbers have become longer.

A telephone number or phone number is a sequence of digits used to call from one telephone line to another in a public switched telephone network. When telephone numbers were invented, they were short — as few as one, two or three digits — and were given orally to a switchboard operator. As phone systems have grown and interconnected to encompass the world, telephone numbers have become longer. In addition to telephones, they now access other devices, such as computers and fax machines.

Telephone numbers must not be stored using numerical data types.

The format of telephone numbers internationally follows ITU-T Recommendation E.164, described here.

This is a useful reference for people creating software to handle telephone numbers: Falsehoods Programmers Believe About Phone Numbers.

1228 questions
-2
votes
1 answer

How to display the duplicate phone number from call log ,contact list and inbox in android

I want to retrieve the phone number from the call log, contact list and inbox to compare that number to a list and display it only once in a listview. I'm able to get contacts from call log, contact list and inbox but the problem is that I'm not…
Simran
  • 25
  • 6
-2
votes
2 answers

I'm making an API in PHP, but it cannot combine two variables

I am attempting to make an API for an SMS messager in PHP. Everything works and checks out except one thing. It gets the &carrier and the &number but PHP cannot appear to combine them. Any suggestions? I've attempted debugging it. The URL is:…
imfaded
  • 11
  • 3
-2
votes
1 answer

Regex - set max limit containing any char and numbers

I want to match strings with the following formats 00355901234567 +355901234567 +*#355901234567 +355*#90123456 44*#abc#9112345 and not match: 0035590123456789 44*#abc#91123456789 44*#abc#911234567Abc I just want to match any character in the…
bsferreira
  • 1,189
  • 5
  • 14
  • 27
-2
votes
4 answers

Phone-Number RegEx

I need a regex that converts +442070320811 to 2070 320811. Using this regex \(\d{4})(\d{6})(\d*)$ gives me 4420 703208 Can anyone advise how I can start the match after the 44?
-2
votes
3 answers

How to validate only type phone number with js

How can I validateonly type number with javascript? for example. I want only this pattern to check in my phone number field "(033) 123-45-67"
-2
votes
1 answer

C++ Creating a phone number generator

I'm working on a C++ project and have run into an issue that is leaving me puzzled. I am to create a phone number generator that has the user enter the first 4 numbers, and then generate all possible phone numbers that follow these two rules: The…
-2
votes
2 answers

How to create a Facebook App?

Preamble: I'm not a Facebook user, I never had any Facebook account, so I'm not familiar at all with the Facebook website. I need to create a Facebook App Today I need to implement "Facebook Connect" (authentication) for the website of a client. I'm…
Community
  • 4,922
  • 7
  • 25
  • 37
-2
votes
2 answers

code for how to get phone no of a sms sender from received sms in android

Please anyone give me downloaded code or any useful link for getting the phone number of a SMS sender while receiving a message. I tried a lot.
-3
votes
2 answers

Singapore mobile number regex with spaces in between

I am trying to make a regular expression that matches Singapore phone numbers. The key part is that the numbers may or may not have spaces in between. My requirements are: The number should start with +65. The next number should be either 6, 8, or…
capt.swag
  • 10,335
  • 2
  • 41
  • 41
-3
votes
1 answer

Regex for USA phone number with country code prefix

I want to write a regex for a USA phone number with country code prefix. The formats should be +12345678900 +1 (801) 234 5678 +1801-234-5678
ken4ward
  • 2,246
  • 5
  • 49
  • 89
-3
votes
2 answers

How can I translate the following JavaScript so that its done in PHP instead?

I currently have a phone number validation script that has been written in JavaScript, What I am looking to do is translate my code from JavaScript to PHP as the rest of the website does all validations once submitted in PHP. The format rules should…
-3
votes
1 answer

Replace phone prefix of multiple format using php

I has an array : $phone_number = array ( 'phone' => '01219104579', 'phone' => '01219104579@abc. 'phone' => '+8401219101219', 'phone' => '01219104579/01219104479', 'phone' => '841219104579@abc.com', 'phone' =>…
-3
votes
1 answer

How do you validate a phone number in Java with a do/while?

I am trying to validate a phone number using Java. How can I ensure that the string is also the correct length (10 digits). do{ System.out.println("Please provide the phone number starting with area code: "); this.phone = input.nextLine(); }…
Chief
  • 3
  • 3
-3
votes
2 answers

Anti theft application using SMS (knowing the new SIM number)

I'm developing an android anti theft application using SMS and I'm on the point to detect if there's a SIM card change by the thief and then send the new SIM card number that have been inserted to the alternative number so they can send commands to…
fatima
  • 33
  • 1
  • 6
-3
votes
1 answer

Telegram support phone numbers list

I'm creating a bot to redirect you to Telegram Support and I need all Telegram support contact list. Is there any accurated list with phone numbers?
aleix
  • 277
  • 5
  • 13