日期类YYYY-MM-DD 2018-05-09/^\d{4}-\d{2}-\d{2}$/手机电话类手机号码 13800138000/^1(3[0-9]|4[579]|5[012356789]|7[01235678]|8[0-9])\d{8}$/其它姓名 张三中国的姓名长度已知为2至15个汉字/^[\u4e00-\u9fa5]{2,15}$/

Install 'net-tools' and 'wget' packages on CentOS 7:yum install net-tools wgethttps://openvpn.net/index.php/access-server/download-openvpn-as-sw.htmlType wget followed by the pasted URL:wget <paste copied url>Install downloaded package on RedHat/CentOS/Fedora system:rpm -Uvh openvpn-- 阅读剩余部分 -

http://php.net/manual/zh/datetime.diff.php$birthday = new \DateTime('1996-10-11'); $now = new \DateTime(); $interval = $birthday->diff($now);object(DateInterval)[18] public 'y' => int 21 public 'm' => int 6 public 'd' => int 0 public 'h' => int 17 public 'i' => - 阅读剩余部分 -