Home  >  Article  >  Web Front-end  >  The input input box can only enter numbers, and only alphanumeric combinations can be entered.

The input input box can only enter numbers, and only alphanumeric combinations can be entered.

高洛峰
高洛峰Original
2017-02-17 15:47:103211browse

Enter uppercase and lowercase letters, numbers, and underscores:

Enter lowercase letters, numbers, and underscores:

Input numbers and dots

Input Chinese:

Input number:

Input English:

Input Chinese, numbers, and English:

Input numbers and letters:

Except for English punctuation marks, other All can be Chinese, English letters, numbers, Chinese punctuation

Only numeric codes can be entered (decimal points cannot be entered)

Only numbers can be entered, decimal points can be entered.

Numbers and decimal point method two

only Can input letters and Chinese characters

Only English letters and numbers can be entered, not Chinese

Only numbers and English can be entered

There can only be up to two digits after the decimal point (numbers and Chinese can be entered), letters and arithmetic symbols cannot be entered:

There can only be up to two digits after the decimal point (numbers, letters, and Chinese can be entered), and operation symbols can be entered:


  1. w_ ↩

  2. a-z0-9_ ↩

  3. d. ↩

  4. ##u4e00-u9fa5 ↩

  5. a-zA-Z ↩

  6. ##wu4E00-u9FA5 ↩
  7. !@#$%^ &*()-=+ ↩
  8. #w./ ↩
  9. d|chun ↩

For more input input boxes, only numbers can be entered, and only alphanumeric combinations can be entered. For related articles, please pay attention to the PHP Chinese website!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn