Home >Backend Development >PHP Tutorial >javascript - Regular problem, please give me advice

javascript - Regular problem, please give me advice

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-10-11 14:23:12885browse

javascript - Regular problem, please give me advice
Use regular rules to distinguish suffixes, especially the difference between .com and .com.cn

Reply content:

javascript - Regular problem, please give me advice
Use regular rules to distinguish suffixes, especially the difference between .com and .com.cn

If it is just the domain name shown in the picture above, if there is no lower-level domain name
/[^.](.*)/The first value captured by the match is

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