我想检查字符串是否具有此时间格式:
Y-m-d H:i:s
如果不是做一些代码,例如
if here will be condition do { this } else do { this }
如何在PHP中执行此条件?
php regex preg-match
php ×1
preg-match ×1
regex ×1