xxxxxxxxxx
Area code with dashes, 1 and + sign
<a href="tel:+1-555-555-1212">555-555-1212</a>
Area code with no dashes, 1 and + sign
<a href="tel:+15555551212">555-555-1212</a>
xxxxxxxxxx
<a href="tel:0123456789">Click to call</a>
<!-- Adds country code with + -->
<a href="tel:+0123456789">Click to call</a>
<!-- Adds a 1 second pause (p) then dial 123 after phone number -->
<a href="tel:0123456789p123">Click to call</a>
xxxxxxxxxx
<label for="phone">Enter your phone number:</label>
<input type="tel" id="phone" name="phone"
pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}"
required>
<small>Format: 123-456-7890</small>
xxxxxxxxxx
string mobileNumber = "+8801000000000";
if (new Regex(@"^([01]|\+88)?\d{11}").IsMatch(mobileNumber)){
MessageBox.Show("Mobile number is valide", "All information is required", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
}
else{
MessageBox.Show("Mobile number is not valide", "All information is required", MessageBoxButtons.OK, MessageBoxIcon.Error);
}