Sheer Vision Logo

RegexLib.com - Recent Patterns

RegExLib.com - Recent Patterns

A Library of Regular Expressions
http://regexlib.com/

Date in MMYYYY format

Validates dates that are in month/year (MMYYYY) format without slashes, periods, dashes, or spaces. No special characters or letters allowed. MM values allowed are 01 thru 12. YYYY values allowed are 1900 - 2999. This is an adaptation of Felipe Albacete's MM/YYYY regular expression.
Read more...

Dni / Nie

Dni-nie validator
Read more...

Brazilian salary format

Brazilian salary format between 0 and ten thousand with two decimal places
Read more...

Swiss Phone Number

This regex will match various ways of entering a Swiss phone number along with the country code.
Read more...

Address Parser

A quick and dirty expression for splitting up a generic street address
Read more...

URL from a data file (Fields separated by |)

ac80016-29181-12246003492|1224600413|ac8001629181-12246003492|M4.0-300-398598-1224600381630-721324|none|190.40.27.239|31,46,51,63,77,82,94,100 ,110,150,353,357,521,891,1171,1352,1744,2700,3286,4482,4552,4568,5500,5526,5665,7258,8586,9109,9255,10016,10810,11693,11784,11819|Mozilla/4.0(com patible;MSIE7.0;WindowsNT6.0;WOW64;SLCC1;.NETCLR2.0.50727;.NETCLR3.0.04506;.NETCLR1.1.4322;InfoPath.2)|http://www.univision.com/uv/music/1169286/Enrique_Iglesias/fotos|/html.ng/SITE=AUDIT&CHANNEL=PORTAL&SUBCHANNEL=POP&SECTION=IGLESIASENRIQUE&CONTENT=PHOTOGALLERY&PARTNER=UNIVISION&CLIENT=AR
Read more...

Anchor Tag, href, title and innerHTML (PHP)

Returns array of full A tag [0], href [1], title [2] and innerHTML [3]. href, title and innerHTML are optional in tag; will return empty if missing. Test will only work using PHP preg_match_all or similar; I ask this site to add that option. Credit goes to user prometheuzz.
Read more...

Postal code or Pin code of India

This expression will be useful to check postal code or pin code of India. This expression will check postal code or pin code in two format. One is code is separated by space after 3 digit and another is code is written in 6 digit.
Read more...

Mobile number of India

This expression will be useful to check mobile number of India. This expression will check various types of number like number in local format or international number separated by hyphen(-) or not.
Read more...

URL,Website,Weburl

Regular Expression matches any internet URLs. Used with the replace method it comes in very handy.
Read more...

Url without Querystring

Modified URL RegExp that requires (http, https, ftp,gopher,telnet,file|notes,ms-help)://, A nice domain, and a decent file/folder string.
Read more...

Positive Integers (Data type)

Matches any integer from 0 to 2147483647 (max Integer size for C#, Java, others)
Read more...

mm/dd/yyyy hh:mm:ss Date Time

I got a regex for date time from here, which had some bugs. so i referred a few regex from this site and created a regex which i tested and didnt find any errors. I will check again and update if required.
Read more...

Strict Phone

Only matches a single format
Read more...

Ordnance Survey Grid Reference

Matches standard 0- to 10-figure (non-tetrad) Ordnance Survey of Great Britain (OSGB) Grid References
Read more...

INI-File section

Matches a complete ini-file section like: [dgd] ghgh=123 [test] jhygvc=agdjf
Read more...

US zip & Canadian postal codes

Matches all valid US standard, US +4, and Canadian postal codes. Returns results for only either one of them, in groups, regardless of case or whitespace (even dashes).
Read more...

Match a string containing at least 2 numbers and at least 6 alphabetic

Check password containing at least x numbers and y alphabetic. Use look back expression (?= )
Read more...

Oracle Like TimeStamp validator

Oracle like time stamp with format: dd.MM.yyyy HH.mm.SS.xxxxxxx Based on European full proved date format with easy changeable dot separator. Optimized regular expresion.
Read more...

RFC Homonimia (Mexican Code)

Mexican RFC Homonimia Code
Read more...

Print this Page   E-mail this Page
Powered By: ssCMS 2.1.0.0