Laravel 6.0.* regex ignore anything but numbers

后端 未结 0 614
我寻月下人不归
我寻月下人不归 2020-12-07 05:32

I need to validate a sentence using regex that can be just numbers or alphanumeric (only a letter K at the end)

tried:

$arr = json_decode($collection,          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题