1 2 3 4 5 6 > >>

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💬

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💬

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💬

RegExLib.com
What resources are offered at RegExLib.com? RegExLib.com is the Internet's first Regular Expression Library, which indexed 3602 expressions from 2066 contributors around the world. RegExLib.com
2020-11-13, 5097👍, 1💬

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💬

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💬

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

regex.FYIcenter.com Links
Other Resources: Software QA Resources Developer Resources DBA Resources Windows Tutorials Java JAR Files DLL Files File Extensions Security Certificates Regular Expression Link Directories Interview Q & A Biotech Resources Cell Phone Resources Travel Resources Frequently Asked Questions FYI...
2019-01-01, 2293👍, 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💬

Strings Containing Neither A Nor B
How to match strings that contain neither A nor B using regex? Regular Expression does not support NOT operator on a sub pattern. "Neither A nor B" must be implemented by a "Negative Look-Ahead" assertion. Let's assume that we have following text: Answer is A. Answer is D. Answer is B. Answer is C. ...
2016-06-23, 5852👍, 0💬

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, 5564👍, 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, 5867👍, 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, 5893👍, 0💬

Regular Expression with Logical AND
How to write AND logic in regular expression? How to build a regular expression to identify the following email paragraph as a spam message because it contains the word "bank", "account" and "money"? " I am inviting you for a business deal where this money will be shared between of us in the ratio o...
2015-05-22, 5301👍, 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, 11360👍, 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💬

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

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💬

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 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, 12953👍, 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 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 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💬

1 2 3 4 5 6 > >>