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
-1
votes
1 answer

How can we set a pattern for a phone number with css

I'm creating a shopify app and using xo booking system for bookings but couldn't set pattern. Is there a way to add pattern with css? or what should be min and max for 10 digit phone number and out of range text. i tried several values for min and…
-1
votes
1 answer

How to verify phone number using OTP without Authentication in Flutter

How to implement phone number verification in Flutter. In my app user is signed in via email, after the sign in process i need to add the phone number and verify it via OTP. I tried in Firebase the phone number verification is added with the…
Elam
  • 413
  • 6
  • 19
-1
votes
2 answers

Extract phone numbers from email-signature (regex)

I'm trying to parse an email signature, that can contain multiple phone numbers in different formats. I've managed to come up with this Regex: (?
sagi
  • 40,026
  • 6
  • 59
  • 84
-1
votes
1 answer

Copy information from one column to another with a condition

I have the following table I want the PHONE NUMBER column information to be copied to the OLD PHONE NUMBER column provided the US telephone format is followed FORMAT USA MY TABLE
-1
votes
1 answer

Sending messages to the real mobile phone numbers

Right now I am working in this project, so I made a project like this, when the bank worker upload the file with xlsx extension to our bank's site, all the values (phone number, message) in the excel file are placed in the database. When the values…
-1
votes
2 answers

regex: convert html pattern regex into js format

I only want to get this function working: function ausPhoneValidate(str){if (/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/.test(str)){return true;}return…
user14074833
-1
votes
1 answer

Identify a record that contain the phone Number with different format

I have three types of phone numbers in my SQL server table as below Can someone please suggest how can I perform a search operation for below scenarios. Search by 10 digit number --- 029700456 Search by 10 digit number that was in the range ---…
Kidoo
  • 39
  • 3
-1
votes
2 answers

Swift How do I get the dialer to open with phone number displayed?

I don't need to call the phone number, I just need the dialer to open with the phone number already displayed. What UIApplication.shared should I open to achieve this? My question was similar to this one, but I don't seems to find any alternative…
Dylan
  • 1,121
  • 1
  • 13
  • 28
-1
votes
1 answer

Regex compiler not matching

Can someone please explain why my compile doesn't match this string. I just get an empty list. I tried using VERBOSE mode as well. The first part (+45) is supposed to be optional (therefore the ?) Then the next line can either be a dash or a space…
-1
votes
2 answers

Javafx Textfield: Accept only digits of length 8 or 11 ( phone numbers)

Working on a project with javafx and I'm having a minor hitch. I want my textfield to accept only digits, 8 or 11 in length. Here's my code: if(!txtPhone.getText().matches(.....) && (txtPhone.getText().length != 8 || txtPhone.getText(). length !=…
-1
votes
1 answer

Regex for 10-15 digit phone number validation

I'd like to write a custom jQuery validator method to validate a phone number and I need help with the regex for it. It's for international phone number so it needs to accept only 10-15 digits. One more condition here is that I have a phone mask…
Ash K
  • 1,802
  • 17
  • 44
-1
votes
1 answer

Convert ###-###-#### phone number as a string instead of math operation

I have phone number as ###-###-#### in my SQL table. When I export it to CSV file. It shows as turns into a value of the match operation, ie, treating - as a subtract sign. Also, as an alternative, I can convert ###-###-#### as ##########, ie,…
-1
votes
1 answer

Validating USA cell/mobile phone numbers with regex?

I need to write validation to check if a phone number is a valid USA cell / mobile phone number. I have found examples for landlines but not cell / mobile phones. Can anyone point me in the right direction with this?
Lint
  • 1
  • 1
-1
votes
1 answer

Country calling code uniquely keyed by code array in Japanese, ruby, yml, php

Asking this question to answer it myself as it's a useful resource for others. I got this by filtering out the information on the Japanese country codes wiki…
-1
votes
1 answer

How do I replace some number of phone number with * symbol?

Let's say I have the phone number 0501234555 for which I want to put some * sign on some places. I want that my number should be in this form 050*****55. I want to do this in php. Can anyone please suggest how to do it? Thanks.
Neeraj Sharma
  • 346
  • 1
  • 4
  • 16