Everyone seems to be asking for these in the forum, so here are some common ones that will match anything valid.
E-mail:URL:Code:^[a-zA-z0-9_\-\.]+@[a-zA-z0-9_\-\.]+?\.\w{2,4}$Phone Number:Code:^((http|ftp)s?://)?[a-zA-z0-9_\-\.]+?\.\w{2,3}(:\d{2,5})?(/[a-zA-z0-9_\-\.]*)*Image Source File (from HTML):Code:^(\d*(\-\s*)?)?((\(\d{3}\)\s*)|(\d{3}\s*(\-\s*)?))?\d{3}\s*(\-\s*)?\d{4}$IP Address with Optional Port Number:Code:(?<=\<img\s.*?src=['"])[^"']+New ones on request by PM or post.Code:(\d{1,3}\.){3}\d{1,3}(\:\d{1,5})?![]()




Reply With Quote