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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
30 views

formatting phone numbers to a single view

How do I format a phone number so that when I receive a number during user registration, formatting occurs immediately? I need that after registering a user, his phone number (and he can enter it as ...
su8a's user avatar
  • 9
-3 votes
1 answer
132k views

HTML5 phone number validation with pattern 1-XXX-XXX-XXXX [closed]

I want a phone number to be in either of two formats: xxx-xxx-xxxx or 1-xxx-xxx-xxxx If there is area code, it should be 1. How can I do it?
phpcoderin's user avatar
-1 votes
1 answer
39 views

How can JavaScript format (Phone Numbers) two elements on the same page? [duplicate]

I have this script below that auto formats an element by ID. This works great on the singular element, but I have two forms on my site one in the top hero section and one at the bottom and I can't ...
killershot707's user avatar
0 votes
1 answer
56 views

Phone number formatting with a dot after the country code

My domain registrar asks for a phone number in the following format: +358.401234567 (where 358 is the country code, 40 is the area code and the rest is the local phone number). To me personally this ...
tpimh's user avatar
  • 476
0 votes
1 answer
28 views

Does Amazon SNS support publishing SMSes in batch to different mobile numbers?

I understand that Amazon SNS supports publishing messages in batch to SNS topics. I wonder that the same thing can be done for publishing SMSes to mobile numbers? My use case is to send out unique SMS ...
Shine's user avatar
  • 51
-2 votes
1 answer
70 views

how to get telegram id using phone number

i have a list of my coustomer phone numbers , how should i get the id's for a long list (15,000) in fastest way posible i tryed older methode's but none of them working any more and some of them not ...
faroqh 's user avatar
0 votes
1 answer
40 views

Mismatch between A2P Compliance CSV and Regulatory / Messaging Service APIs

The A2P Compliance Report and the Twilio Console have been showing mismatches in the status of a phone number for the past month or so. I'll have a phone number that is compliant according to the ...
CScherbs's user avatar
0 votes
0 answers
43 views

HTML5 input pattern for a 10 digit US phone number [duplicate]

For an assignment, I was told to use the following regex in an HTML input pattern to validate a phone number, however no matter what I do I cannot get it to work. The browser just always throws an ...
divided_by_0's user avatar
0 votes
0 answers
25 views

Phone Number Validations

Suppose you're making a Sign-Up Form which takes your phone number as a detail with respect to all the other details . So let's say , I added some validations, say for example : 1. Phone number length ...
Ankit Upadhyay's user avatar
0 votes
0 answers
22 views

Getting Incoming Call Info on iOS with CallKit [duplicate]

Are there any possible ways to get incoming call's phone number (or some ID for that number) on iOS? I know we can block numbers with CallKit. What I'm looking for is, getting the number (or some ...
Emre's user avatar
  • 111
0 votes
0 answers
20 views

Designing a Secure and Privacy-preserving Phone Number Change System in a SMS SaaS Product

I'm working on an application where users are identified by their phone numbers. One user account can have one phonenumber but one phonenumber can be added from multiple accounts. For each ...
Ege's user avatar
  • 525
1 vote
2 answers
213 views

aws cognito phone number regex validation faild

when creating a user from aws via the console. they used below regex validation pattern as per below screenshot. regex pattern "^\+[1-9][0-9]{0,24}$" but when i try this mobile number with ...
WAEX's user avatar
  • 115
2 votes
0 answers
44 views

Why are Indian phone numbers automatically prepending a 0 in Maz-UI

I am using Vuejs's Maz-UI framework, and specifically their phone number inputter. But there is an issue; when selecting Indian phone numbers, I type in some random 10 digit string of numbers. But ...
Andrew Baker's user avatar
-1 votes
1 answer
32 views

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 ...
Ripenpreet Kaur's user avatar
0 votes
0 answers
31 views

Use Firebase auth phone(OTP) on devices that has no google play services and Chrome

my app runs on custom devices that have no Google Play services and Google Chrome, and I use Firebase phone Auth to authenticate my users, but when trying to send OTP from a device that has no GS and ...
Amr Jyniat's user avatar
-3 votes
2 answers
92 views

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 ...
capt.swag's user avatar
  • 10.4k
0 votes
0 answers
80 views

How to change the phone number value in the Android emulator. (over API31)

How to change the phone number value in the Android emulator. Until API 30, i could change it using the emulator cli option -phone-number. However, starting with API31, the -phone-number option does ...
Harry Jhin's user avatar
0 votes
0 answers
48 views

Android get current incoming phone number

We want to get the current incoming phone number. The user may answer the phone call first. Then he will open the app and try to fill a form. We want to detect the current incoming phone number ...
mgms_kumara's user avatar
0 votes
0 answers
75 views

Android is returning <null> for the phone number

I have been doing a project in order to get the data of incoming calls, outgoing calls, and the corresponding phone number based on the state of a phone. The main class is as follows: package com....
MMd.NrC's user avatar
  • 91
1 vote
0 answers
692 views

how to validate Phone Number using IntlPhoneField in dart/flutter? different countries have different number number of digits

This is My ResuableWidget: import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:intl_phone_field/intl_phone_field.dart'; import 'package:intl_phone_field/...
Touqeer's user avatar
  • 11
0 votes
1 answer
38 views

Cleaning non-numericals from a column of cells

My ultimate goal is to make a macro that will clean up a row of telephone numbers, but it's been a while since I had to do any VBA programing, and I think I've forgotten something. The first step ...
MRDoubleyou's user avatar
0 votes
0 answers
23 views

Display Business phone number Google Maps Android Studio Kotlin

I am trying to create a map on Android Studio in Kotlin that shows nearby places of certain searches. For example, I want to show nearby police stations along with their address and phone number. When ...
Julia Navarro's user avatar
-2 votes
1 answer
51 views

How to remove "rubbish" from column to stay only phone number in SQL?

I have table in sql like below: PHONE_NUMBER -------- ppa:[email protected] tel:+77695002395 .... As you can see I have in COL1 phone numbers with a lot of "...
dingaro's user avatar
  • 2,288
0 votes
0 answers
35 views

I am writing a mobile number tracking code and when I run my code I am getting KeyError: 'long' Error code

That's the full error code; KeyError Traceback (most recent call last) ~\AppData\Local\Temp\ipykernel_19272\1604950283.py in <module> 48 49 lat = ...
Emil's user avatar
  • 1
0 votes
0 answers
31 views

Is it possible to use flair embbeding for tagging phone numbers in custome data?

Is it possible to use flair embedding for tagging phone numbers in custom data? if yes can I have reference related to it. Thanking you in advance I would like to whether it is possible tag the phone ...
shreya's user avatar
  • 1
1 vote
1 answer
37 views

Trying to display numbers when clicking button on CodePen

I want to display the numbers selected at the top of their buttons. I'm currently using them to move an elevator — but I don't know how to print them to the screen. I looked at some examples of ...
yunaoh's user avatar
  • 21
0 votes
1 answer
38 views

Phone link href="tel" shows up twice/double in Andoid phone

When the number is clicked, it is shown twice in the phone like this... 12345678910,12345678910 ...instead of... 12345678910 Here's the code: {#if order.salesRep} <div class="info"&...
Ivan's user avatar
  • 2,071
-1 votes
1 answer
387 views

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 ...
Elam's user avatar
  • 453
0 votes
0 answers
55 views

How do sites like Vonage or PhoneValidator determine whether a phone number is mobile or a landline?

Sorry if this isn't the proper channel for this question; it's hard to tell where else to put it. Primary Question Given a phone number (in my case: US or +1), I want to know whether that phone number ...
LiamJC's user avatar
  • 99
-1 votes
2 answers
161 views

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: (?<![%_])\b(\+?\d{1,}[\s.-]?\(?\d{1,}\)?[\s.-]?\(?\d{1,...
sagi's user avatar
  • 40.1k
0 votes
2 answers
579 views

How to format phone number in javascript

I created a form field in HTML, and I want to auto-format the phone number input to look like (123) 456-7890. My HTML code looks like this: <form> <div class="sc-formfield-input">...
zrod94's user avatar
  • 1
1 vote
1 answer
332 views

Pyspark Dataframe Phone Number Format

I have a table, approx. 1K rows and two columns. The first row is the emp_id and the second is tel_num. The tel_num column is not formatted all the same...some examples are (555) 555-9876, +...
Chris Beredimas's user avatar
0 votes
1 answer
307 views

regex turkey phone number

I am using the following expression for the mobile phone rule in google workspace. But this expression also includes landline phones. How do I prevent this? Also google workspace does not use this ...
Volkan Tipi's user avatar
0 votes
0 answers
74 views

Android GIS one tap authentication unable to get the phone number

I have one tap authentication in my application. I am trying to do sign up request with setRequestVerifiedPhoneNumber. Sign up request return the result with profile details but doesn't return the ...
nilkash's user avatar
  • 7,438
0 votes
1 answer
199 views

Convert phone number to international E.164 format for database usage

Via an online form I get phone numbers in various formats like 0123456789 +49 123456789 +49123456789 00123456789 0049 123456789 Right now I format them via PHP RegEx using a very simple way, as I ...
Ben's user avatar
  • 13
1 vote
1 answer
192 views

Formatting the scientific notation phone number in python

I have my phone_number column listed below. phone_number -------------- 001 1234567890 380 1234567890 27 1234567890 001 +11234567890 2.56898E+11 1 1234567890 123-456-7890 +1 (123) 456-7890 (123) 456-...
Kate's user avatar
  • 31
1 vote
2 answers
83 views

Replace leading digits in a string if consists of optional zeros then 2 specific numbers

I get a phone number, where I would like to replace 0049 049 49 with a null. I can do it like this: $phone = str_replace("0049", "0", $phone); // and so on But for the case that ...
Trombone0904's user avatar
  • 4,162
0 votes
1 answer
418 views

Flutter intl_phone_number_input - getRegionInfoFromPhoneNumber giving error

I am trying the getRegionInfoFromPhoneNumber function from the intl_phone_number_input Flutter Package (0.7.1 - latest one) It was functioning before but I was testing it today and it gave this error: ...
lou_codes's user avatar
  • 141
2 votes
2 answers
84 views

How to check the phone number using Regex

I am trying to check the user input, I want the phone number to be like 000-0000. But my code here does not work as I want. I input "123-4444444" and it also matches. I am not familiar with ...
Candy Lee's user avatar
0 votes
1 answer
305 views

phonenumbers python module not giving correct country code

I am trying to use the phone numbers module in python and am stuck with the below issue, it is giving the country code wrongly; both are US phone numbers.Can someone suggest how to proceeed import ...
Xi12's user avatar
  • 959
1 vote
1 answer
195 views

REGEX - Limit only numbers in a string, but allow any number of other specific characters

I currently have this: ^\+?[()\d -]{6,12} It allows a leading +, allows ()- characters, and numbers. But the total length of the string is limited to 6-12 characters. I want to achieve the following: ...
Milan Vrškový's user avatar
0 votes
2 answers
2k views

Replace 0 in a phone number with country code

I use a library to get phone numbers from a mobile device but most of the numbers start with 0 for example:03004444444.But I noticed whatsapp converted it to country code(+92).I want to know how how ...
MugheesAli's user avatar
0 votes
1 answer
127 views

How exactly is the Twilio Lookup API v2 discerning its valid property?

Looking at these docs, I see a valid property in the return. I've been struggling to find answers on what exactly this means. The docs say Boolean which indicates if the phone number is in a valid ...
Derek Wall's user avatar
0 votes
3 answers
1k views

Flutter Phone Number - intl_phone_number package

InternationalPhoneNumberInput( onInputChanged: onInputChanged, cursorColor: kDarkGreyColor, initialValue: phoneNumber, //+961 or 961 hintText: 'Phone Number', .....
lou_codes's user avatar
  • 141
0 votes
1 answer
2k views

Android Get phone number hint

I have been referring so my tutorial links to get the phone number hint but the code which is used has been deprecated. val hintRequest = HintRequest.Builder() ....
Greatest's user avatar
-4 votes
2 answers
2k views

Format phone number in Javascript

I need to format phone number for example by replace(): From: +48 XX XXX XX XX where X is a number. Example: +48 12 345 67 89 To: +48 XXX XXX XXX Example: +48 123 456 789 Edit: My work: First, I ...
Weronika's user avatar
  • 360
-4 votes
2 answers
229 views

Regex & Phone Numbers

So I have been working on creating a regex to validate phone numbers in the following format XXX-XXX-XXXX which has been working pretty well so far, but now I'm trying to figure out how to remove the ...
cditomas's user avatar
0 votes
0 answers
423 views

Format users' contacts' phone numbers - Flutter

I am building a chat application that takes a user's phone number with a country code for registration. After registration and permission, I use the contacts_service plugin to access the contacts on ...
ASHIR's user avatar
  • 58
0 votes
1 answer
208 views

How to use an enumeration and pattern for phone in xsd?

The problem is requesting the following. That the phone should have the attribute type with 3 enumerated values of home, cell, and work. AND the phone should also be restricted to a phone format of (##...
Tara Speak's user avatar
1 vote
1 answer
358 views

Kotlin edit text ; textwatcher for phoneNumber

i am trying to get a phone number from editText in my project. the problem i'm having; 1 -> the first digit should not be 0. 2 -> unfortunately but I can't delete spaces.. The number format I ...
Mesut Durmuser's user avatar

1
2 3 4 5
25