1 2 3 > >>   Sort: Rank

JCB credit card number validation
All credit card numbers issued by JCB have 3 sets of numbers: JCB cards start with 2131 have 15 digits. JCB cards start with 1800 have 15 digits. JCB cards start with 35 have 16 digits. For example, 3566002020360505 is a valid Visa credit card number. How to write a single regular expression to vali...
2019-01-01, 11728👍, 1💬

💬 2019-01-01 Julie: Thanks!

MAC address validation
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separated by "-" or ":". For example, 0a-1b-3c-4d-5e-6f is a valid MAC address. How to write a single regular expression to validate a MAC address described above? Here is the regular expression for MAC addre...
2017-05-15, 23733👍, 5💬

💬 2017-05-15 aditya: thank you very much. Its 100% working.

💬 2016-06-23 FYIcenter.com: Hi Taylan, The test page is back working now. Try it.

💬 2016-06-22 Taylan: The test page is not working...

(More comments ...)

Parsing Windows TREE Command Output
Regex for parse output of Windows TREE command. For example: Folder PATH listing Volume serial number is 8704-028C C: +---BIOS | \---E0CN23WW | E0CN23WW.exe | +---driveri | 0rww03af.exe | 2tl502af.exe | 2tl602af.exe | 365.10-notebook-win10-64bit-in ternational-whql(1).exe | bob501af.exe | e0cn23ww_i...
2016-06-23, 1863👍, 0💬

Email address @ sign validation
According to the Internet specification RFC 2822, an email address must have a single "@" sign. For example, john@host.net is a valid email address. There should be at least one character before the "@" sign, but the total number of characters before the "@" sign should not be more than 64. There sh...
2016-06-23, 3345👍, 0💬

Capturing Plukkie Crawler entries from Apache Web log file
How to capture the Plukkie Crawler entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Plukkie/1.5; http://www.botje.com/plukkie.h tm)""-" 213.135.131.79 - - [13/May/2012:17:...
2016-06-21, 3643👍, 0💬

Capturing Soso Spider entries from Apache Web log file
How to capture the Soso Spider entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Sosospider+(+http://help.soso .com/webspider.htm)""-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit....
2013-02-04, 7618👍, 0💬

Capturing Jike Spider entries from Apache Web log file
How to capture the Jike Spider entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; JikeSpider; +http://shoulu.jike.com/spider .html)""-" 213.135.131.79 - - [13/May/2012:17:35...
2013-02-04, 4392👍, 0💬

Capturing Proximic Spider entries from Apache Web log file
How to capture the Proximic Spider entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; proximic; +http://www.proximic.com/info/ spider.php)""-" 213.135.131.79 - - [13/May/201...
2013-02-04, 4382👍, 0💬

Capturing Sogou web spider entries from Apache Web log file
How to capture the Sogou web spider entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Sogou web spider/4.0(+http://www.sogou.c om/docs/help/webmasters.htm#07 )""-" 213.135.131.79 - - [13/May/2012:17...
2013-02-04, 12851👍, 0💬

Capturing Baidu spider entries from Apache Web log file
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/s pider.html)""-" 213.135.131.79 - - [13/May...
2013-02-04, 7401👍, 0💬

Capturing Ezooms bot entries from Apache Web log file
How to capture the Ezooms bot entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Plukkie/1.5; http://www.botje.com/plukkie.h tm)""-" 213.135.131.79 - - [13/May/2012:17:35:32...
2013-02-04, 4791👍, 0💬

Capturing MSN bot entries from Apache Web log file
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ ysearch/slurp)""-" 213.135.131...
2013-02-04, 9454👍, 0💬

Capturing Bing bot entries from Apache Web log file
How to capture the Bing bot entries from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ ysearch/slurp)""-" 213.135.131.79 - - [13/May/201...
2013-02-04, 4037👍, 0💬

Capturing Google Bot entries from Apache Web log file
How to capture the Google Bot from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ ysearch/slurp)""-" 213.135.131.79 - - [13/May/2012:17:3...
2013-02-04, 4393👍, 0💬

Capturing Yandex Bot entries from Apache Web log file
How to capture the Yandex Bot from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ ysearch/slurp)""-" 213.135.131.79 - - [13/May/2012:17:3...
2013-02-04, 5434👍, 0💬

Capturing Yahoo! Slurp entries from Apache Web log file
How to capture the Yahoo! Slurp from Web log file? Here are some Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ ysearch/slurp)""-" 213.135.131.79 - - [13/May/2012:17...
2013-02-04, 3220👍, 0💬

Capturing request method from Apache Web log file
How to capture the request method from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID=10...
2013-02-04, 3353👍, 0💬

Parsing timestamp from Apache Web log file
How to parse timestamp elements from from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID...
2013-02-04, 3538👍, 0💬

Capturing request path from Apache Web log file
How to capture the request path from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID=1000...
2013-02-04, 3303👍, 0💬

Capturing request protocol from Apache Web log file
How to capture the request protocol from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "SID=...
2013-02-04, 3430👍, 0💬

Capturing response status code from Apache Web log file
How to capture the response status code from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 2326 "-" "-" "...
2013-02-04, 3037👍, 0💬

Capturing response message size from Apache Web log file
How to capture the response message size from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-" ...
2013-02-04, 2885👍, 0💬

Capturing referer URL from Apache Web log file
How to capture the referer URL from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-" "SID=1000;...
2013-02-04, 2422👍, 0💬

Capturing user agent from Apache Web log file
How to capture the user agent from Apache Web log file? Here are some Apache Web log file entries:127.0.0.1 - frank [10/May/2012:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "-" "-" "-" 213.135.131.79 - - [13/May/2012:17:35:32 -0600] "POST /submit.jsp HTTP/1.0" 200 1024 "-" "-" "SID=1000;L...
2013-02-04, 2502👍, 0💬

1 2 3 > >>   Sort: Rank