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.