Regex to find a number in a string

前端 未结 2 1867
无人共我
无人共我 2021-02-12 07:18

I\'ve got a string that may or may not contain a number of 4 or 5 digits. I\'m looking for a regex that can detect if the string does in fact have such a number.

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