1 2 3 4 5 6 > >>   Sort: Date

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...
2020-08-03, 36758👍, 6💬

💬 2020-08-03 chelseaclark: Creative Bioarray offers specialized transporter panels and customized transporter screening services enable you to identify nov...

💬 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.

(More comments ...)

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, 34592👍, 1💬

💬 2019-01-01 Julie: Thanks!

Validating GUID or UUID
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally Unique IDentifier)? Here is a list of good and bad GUID examples: {D1A5279D-B27D-4CD4-A05E-EFDD5 3D08E8D}{594ABD08-C02C-4827-8ABF-A1280 06848A3}{B59511BD6A5F4DF09ECF562A108D8 A2E}69593D62-71EA-4548-8...
2022-10-01, 22542👍, 2💬

💬 2022-10-01 Walson: Okay, it looks good!

💬 2013-11-26 awanthiia: this validation regex format doesnot work for your UUID generation

Diners Club credit card number validation
All credit card numbers issued by Diners Club must start with 300 through 305, 36 or 38 and have 14 digits. For example, 38520000023237 is a valid Visa credit card number. How to write a single regular expression to validate a Diners Club credit card number described above? Here is the regular expre...
2024-01-10, 20828👍, 1💬

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:1...
2013-02-04, 17121👍, 0💬

Parsing key-value entries from Windows .INI files
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an example Windows .INI file, system.ini: ; for 16-bit app support [386Enh] woafont=dosapp.fon EGA80WOA.FON=EGA80WOA.FON EGA40WOA.FON=EGA40WOA.FON CGA80WOA.FON=CGA80WOA.FON CGA40WOA.FON=CGA40WOA.FON [driver...
2019-09-16, 14219👍, 2💬

💬 2019-09-10 FYIcenter.com: @mike, comment line will be ignored.

💬 2019-09-07 mikeT: What about lines that have comments?

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.13...
2013-02-04, 12952👍, 0💬

Regular Expression (RegEx) Information Center
Are you having problems using regular expressions when processing text strings in your applications or when editing text files? Welcome to visit this information center, where you can enhance your knowledge on regular expressions; learn how to write and test regular expressions. regex.fyicenter.com ...
2016-07-06, 11949👍, 1💬

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, 11360👍, 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/Ma...
2013-02-04, 10754👍, 0💬

American Express credit card number validation
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For example, 346997719493686 is a valid American Express credit card number. How to write a single regular expression to validate a American Express credit card number described above? Here is the regular...
2013-01-22, 10482👍, 0💬

MasterCard credit card number validation
All credit card numbers issued by MasterCard must start with 51 through 55 and have 16 digits. For example, 5271190242643112 is a valid MasterCard credit card number. How to write a single regular expression to validate a MasterCard credit card number described above? Here is the regular expression ...
2013-01-22, 9839👍, 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:3...
2013-02-04, 8857👍, 0💬

Discover credit card number validation
All credit card numbers issued by Diners Club must start with 6011 or 65 and have 16 digits. For example, 6011186767363105 is a valid Visa credit card number. How to write a single regular expression to validate a Discover credit card number described above? Here is the regular expression to validat...
2021-02-13, 8483👍, 3💬

💬 2021-02-13 Jeanie: I cannot for the life of me figure this out

💬 2020-04-10 ddd: 6011415014288116

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:...
2013-02-04, 8287👍, 0💬

Email addresse basic validation
How to perform a basic validation on email address using a regular expression? For example, " test+email@fexample.com " is an invalid email address. To perform a basic validation on email addresses, try this regular expression: ^\D\w+(\.\w+)*[@]\w+(\.\w+)*\. [a-zA-Z]{2,4}$
2013-01-27, 7437👍, 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:3...
2013-02-04, 7113👍, 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:...
2013-02-04, 6956👍, 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/20...
2013-02-04, 6849👍, 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/20...
2013-02-04, 6708👍, 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:1...
2013-02-04, 6453👍, 0💬

Parsing directory name and size from Windows "dir" command
How to write a regular expression to parse directory name and total file size from the output of Windows "dir" command? Here is an example output of the "dir" command: Directory of C:\Windows\system 07/13/2009 11:52 PM . 07/13/2009 11:52 PM .. 06/10/2009 04:21 PM 69,584 avicap.dll 06/10/2009 04:21 P...
2013-02-01, 6382👍, 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=1...
2013-02-04, 6082👍, 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 "-" "-" "SI...
2013-02-04, 6002👍, 0💬

1 2 3 4 5 6 > >>   Sort: Date