- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
51cto下载-正则表达式(51CTO download - regular expressions)
51cto下载-正则表达式(51CTO download - regular expressions)
[regular expression] text box input content control
Default category 2009-02-13 10:10 read 26 comment 0
Size: medium, medium, small
Integer or decimal: ^[0-9]+\.{0,1}[0-9]{0,2}$
You can only enter numbers: ^[0-9]*$..
You can only enter n digits: ^\d{n}$..
Can only enter at least n digits: ^\d{n,}$.
You can only enter digits in m~n bits:. ^\d{m, n}$.
You can only enter zero and non-zero numbers: ^ (0|[1-9][0-9]*) $.
You can only enter a positive real number with two decimal numbers: ^[0-9]+ (.[0-9]{2})? $?.
You can only enter a positive real number with 1~3 decimal numbers: ^[0-9]+ (.[0-9]{1,3}) $?.
Can only enter a non-zero positive integer: ^\+ [1-9][0-9]*$?.
Can only enter the non negative integer Zero: ^\-[1-9][]0-9 *$.
You can only enter characters of length 3: ^.{3}$.
You can only enter a string consisting of 26 English letters: ^[A-Za-z]+$.
You can only enter a string consisting of 26 uppercase English letters: ^[A-Z]+$.
You can only enter a string consisting of 26 lowercase English letters: ^[a-z]+$.
You can only enter a string consisting of numbers and 26 English letters: ^[A-Za-z0-9]+$.
A string consisting of numbers, 26 letters, or underscores can be entered: ^\w+$.
Verify user password: ^[a-zA-Z]\w{5,17}$, the correct format is: start with letters, length between 6~18, and can only contain characters, numbers and underscores.
To verify whether it contains ^%, $\; =? Characters such as: [^%, = $\x22]+;?.
Only input Chinese characters: ^[\u4e00-\u9fa5]{0,}$
Verify the Email address: ^\w+ ([-+.]\w+) *@\w+ ([-.]\w+) *\.\w+ ([-.]\w+) *$.
Validation of the InternetURL: ^http:// ([\w-]+\.) +[\w-]+ (/[\w-./?%=]* $)?.
Verify the phone number: ^ ([\d{3,4}-) |\d{3.4}-) \d{7,8}$, the correct format is: XXX-XXXXXXX, XXXX-XXXXXXXX, XXX-XXXXXXX, XXX-XXXXXXXX, XXXXXXX, and XXXXXXXX.
Verify the ID number (15 or 18 digits): ^\d{15}|\d{18}$.
Verify 12 months of the year: ^ (0, [1-9]|1[0-2]) $ in the correct format: 01 to 0
您可能关注的文档
- 03.3.牛顿第二定律(03.3. Newton's second law).doc
- ++兰州大学风雨百年发展历程_卫视_凤凰网2().doc
- 007_黄仁宇现象(007_ Huang Renyu phenomenon).doc
- 002机械挖土施工工艺(002 mechanical excavation construction technology).doc
- 007如何创建html表格(007 how to create a HTML table).doc
- 008_盼(008_ look forward to).doc
- 0.5元(0.5 yuan).doc
- 033牛顿第二定律(033 Newton's second law).doc
- 002汽车美容店投资创业方案(002 auto beauty shop investment venture program).doc
- 04 配套cad笔记(04 matching CAD notes).doc
- 52 木门窗制作与安装工程(52 doors and windows manufacturing and installation works).doc
- 54种针灸治疗有效病症处方(54 effective prescriptions for acupuncture and moxibustion treatment).doc
- 5680t基本查询命令(5680t basic query command).doc
- 4c——高效团队的决定因素(4C - a decisive factor in an efficient team).doc
- 5大种族的终极技能评测(Ultimate skills assessment of the 5 races).doc
- 51现调站小吃(51, the current station snack).doc
- 5招巩固职场新人管理的职场地位(The 5 trick is to strengthen the workplace management status of the new workplace).doc
- 32位cup寄存器说明(32 bit cup register description).doc
- 5日共63人答辩安排 - 南京师范大学国际文化教育学院(5, 63 respondent arrangements - Nanjing Normal University International Cultural Institute of Education).doc
- 6.1课程(6.1 Curriculum).doc
最近下载
- 引领时尚潮流的可持续时尚品牌.pptx VIP
- 一年级道德与法治教案(全套).pdf VIP
- 版鲁科版英语四年级上册教案.doc VIP
- 一种脱除1,3-丙二醇中微量醛基杂质的脱除方法.pdf VIP
- 国投证券-宁德时代-300750-全球锂电行业龙头全球化布局推动发展.pdf VIP
- 2023-2024学年上海市向明中学高二上学期10月月考数学试卷含详解.docx VIP
- 《婴幼儿动作发展与训练》教案 第8课 2~3岁幼儿精细动作的发展与训练.docx VIP
- MT-500系列说明书(济南华电)-20101216.pdf
- 养成亲社会行为++课件-2025-2026学年统编版道德与法治八年级上册.pptx VIP
- 开学第一课-初中开学第一课班会.ppt VIP
文档评论(0)