How to match hyphens with Regular Expression?

后端 未结 6 1137
[愿得一人]
[愿得一人] 2020-11-21 23:36

How to rewrite the [a-zA-Z0-9!$* \\t\\r\\n] pattern to match hyphen along with the existing characters ?

6条回答
提交回复
热议问题