Need a regex that will check if the string only consist letters a-z and numbers and underscore(_) and hyphen(-)

前端 未结 5 476
甜味超标
甜味超标 2020-12-31 10:39

I\'m looking for a regex that will check if the string only consists of the letters a-z, numbers, underscore (_) and hyphen (-). I have tried this,

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