Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Regular verification can only enter between 2 and 10 characters of Chinese, numbers and letters.

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Var reg = / ([u4e00-u9fa5\ dA-Za-z]) {2jre 10} /; / / this expression has some special characters such as @ that can be verified and found after the actual operation.

The following regular expressions include ordinary letters and numbers that do not include special symbols

So the following regular expressions containing ordinary letters and numbers meet the requirements.

^ [a-zA-Z0-9] + $/ / this does not contain Chinese characters in actual development

Regular expressions that do not contain special symbols ('"\), but can contain other characters

^ [^ ('"\\?)] + $

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report