(1)IP地址
(((\d{1,2})|(1\d{2})|(2[0-4]\d)|(25[0-5]))\.){3}((\d{1,2})|(1\d{2})|(2[0-4]\d)|(25[0-5]))
(2)URL地址(只能匹配主机名、端口号、文件路径)
https?:\/\/[-\w.]+(:\d+)?(\/([\w/_.]*)?)?
(3)URL地址(匹配主机名、端口号、文件路径、url中的变量信息、用户名:口令号@)
https?:\/\/(\w*:\w*@)?[-\w.]+(:\d+)?(\/([\w/_.]*(\?\S+)?)?)?
(4)电子邮箱
(\w+\.)*\w+@(\w+\.)+[A-Za-z]+
(5)HTML注释
<!-{2,}.*?-{2,}>
(6)JavaScript注释
\/\/.*