Alibabacloud.com offers a wide variety of articles about phone number must numeric, easily find your phone number must numeric information here online.
Have a friend complete a number of JS and jquery numeric type validation regular expression code, below I give you to tidy up here, including the implementation of digital verification and test examples, we can refer to. JS validation number regular
[Plain]/* Verify the mobile phone number modified by helensong */Bool validatemobile (nsstring * Mobile ){// The mobile phone number starts with 13, 15, and 18 and contains eight \ D numbersNsstring * phoneregex = @ "^ (13 [0-9]) | (15 [^ 4, \ D]) |
Regular expression base syntax1.1 match different types of characters
Character class
Matched characters
\d
Matches a numeric character. equivalent to [0-9].
\d
Matches a non-numeric character.
An example of this article is an analysis of the Android dial phone function. Share to everyone for your reference, specific as follows:
The phone is one of the most basic features of mobile phones, and now Android smartphones are very popular,
An APP requires that a globally unique number be generated (similar to a QQ number), but leave a good number in advance or determine whether the number to be obtained is a good number when the user registers... How can this be done? For example,
Review Database basics, relational databases (rows/Records, columns/fields, SQL)Basic SQL Operations: library operations, table operations (fields), and data operationsCharacterProofing Sets 1. What is a proofing set?The collation set refers to the
JS verifies the number of regular expressions
The code is as follows
Copy Code
function IsTrue (a) {var reg=/^ ([a-z]+[0-9]+) | ( [0-9]+[a-z]+)] [a-z0-9]*$/i;Return Reg.test (a);} function IsNumeric (a){var reg=/^ (-|+)
SQL statements must be executed.
Structured Query Language (SQL data type)The information type refers to the format in which the information is stored. There are 10 types of local Interbase information types.
◆ Smallint: it is an integer of 2 bytes (
Basic database commands common database commands 1. Help Command Prompt helpdb. help (); db. yourColl. help (); db. youColl. find (). help (); rs. help (); 2. Switch to create database useyourDB. When a set (table) is created, the current database
JS Regular Expression matching checks various numeric types (digit verification) and js Regular Expressions
Regular Expression set for verifying numbers
Verification number: ^ [0-9] * $
Verify the n-digit number: ^ \ d {n} $
Verify at least n digits:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.