Home  >  Article  >  Backend Development  >  php怎么用正则表达式判断连接和时间是否合法

php怎么用正则表达式判断连接和时间是否合法

WBOY
WBOYOriginal
2016-06-13 12:37:011161browse

php如何用正则表达式判断连接和时间是否合法。
时间只显示年月日,时间格式为2008-08-08
连接地址的话,要考虑http,https这两种情况吧,或者你有更全的更好。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn