Joke Collection Website - Blessing messages - Find a regular expression to filter special characters instead of @ underscore or something.
Find a regular expression to filter special characters instead of @ underscore or something.
This can also be achieved by periodically limiting the characters allowed to be entered.
For example, the first 6- 15 characters of a letter can be written as follows.
/^[a-za-z][a-za-z0-9]{5, 15}$/
This can also achieve the effect of filtering special characters.
- Related articles
- Before dreaming, the object sent a text message asking for a reunion signal.
- How to print electronic payment invoices in Baiyun airport parking lot
- How to book a group hotel?
- How to activate WeChat official account?
- Taizhou Linhai Center for Disease Control and Prevention urgently reminds the general public of epidemic prevention and control measures
- SMS registration format
- What should I do if I enter the wrong card number and transfer the money via mobile phone transfer from China Construction Bank?
- How long will it take for the security deposit of Ping 'an Gold Butler to arrive?
- Is it illegal for a third party to send and receive text messages to friends in the address book?
- Say hello to mom.