RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Advanced Search

Keywords

Category

Minimum Rating

Results per Page

Search Results: 3731 regular expressions found.

Change page:   |    Displaying page 27 of 38 pages; Items 2601 to 2700
Title Test Details Pattern Title
Expression
[a-z0-9]{1,11}
Description
PHP/Perl based regular expression: find aplhanumeric only(alpha and numeric only) (string and numeric only) but it will not find the empty string as it has to find string between 1 to 11 length.
Matches
abc123ABC | 123ABCabc | abcABC123
Non-Matches
#$@%$ | <>?|" ' | _-+ =
Author Rating: Not yet rated. meet zorrer
Title Test Details Pattern Title
Expression
^([0-9]*\-?\ ?\/?[0-9]*)$
Description
Match italian telephone number with prefix followed by &quot;/&quot;, &quot;-&quot; or blank and number. Usefull with numeric keybord!
Matches
02-343536 | 02/343536 | 02 343536
Non-Matches
02a343536 | 02+343536
Author Rating: Not yet rated. Giorgio Spugnesi
Title Test Details Pattern Title
Expression
^[A-Za-z]{6}[0-9]{2}[A-Za-z]{1}[0-9]{2}[A-Za-z]{1}[0-9]{3}[A-Za-z]{1}$
Description
This pattern match italian fiscal code (codice fiscale).
Matches
SPGGRG73A02E625S | czzdll74h18f205w
Non-Matches
SP6FFFF3A02E625S | czzdll74h18f205
Author Rating: The rating for this expression. Giorgio Spugnesi
Title Test Details email pattern basic
Expression
(^([A-Za-z])([-_.\dA-Za-z]{1,10})([\dA-Za-z]{1}))(@)(([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|(([\dA-Za-z{1}][-_.\dA-Za-z]{1,25})\.([A-Za-z]{2,4}))$)
Description
v allow Symbol [(_) (-) (DOT)] (number) (a-z and caps), X disallow symbol&number at begining (avoid bad sorting database, including bad subdomain name (1.example.com) & fake email) and ending (before "@") & other symbols are disallowed; username min,max/maxout = 2, 25/27 --- must exist "@" ---; after "@" : FOR DOMAIN NAME : v Symbol [(_) (-) (DOT)] (number) (a-z and caps), X symbol at begining and ending (including before top level domain extension) v a-z (with/out caps) total min=2 max 4 in top level domain extension NOT SUPPORTED PORT NUMBER, if you the administrator ? self edit the database, DONT give user a chance for adding port number. maximum 25 address length ; OR standard IP ADDRESS. WHITE SPACE IS NOT SUPPORTED.
Matches
abc45fgh90@abc.com | abc45fg.90@abc.com | xxxx@127.0.0.1 | | abc45fgh90@abc45.cx | abc45fgh90@abc45.cxx | abc45fgh90@abc45.cxxx | | abc45fgh90@abc45.com | abc45fgh90@abc45fgh90.com | abc45fgh90@abc45fgh90abc45fgh90.com | abc45fgh90@abc45fgh90.abc45fgh90.com
Non-Matches
@.com | a@a.com | 1@a.com | w1@a.com | 1w@test.com | wa@.com | | abc45fgh90@a.com | abc45fgh90@1b.com | abc45fgh90@ab.com | | abc45fgh90.@abc.com | abc45fg.90@@abc.com | | abc45fgh90@abc45. | abc45fgh90@abc45.c | abc45fgh90@abc45.c1x | | abc45fgh90@@abc45.com | abc45fgh90?@abc45.com | abc45fgh90@abc45#.com | abc45fgh90@abc45fgh90?.com | abc45fgh90@abc45fgh90..com | | blah@127.0.0 | blah@127.0.0. | blah@127.0.0.g |
Author Rating: Not yet rated. deviant2
Title Test Details Pattern Title
Expression
^1?[1-9]$|^[1-2]0$
Description
Matches a whole number between 1 and 20 inclusively
Matches
1 | 11 | 20
Non-Matches
0 | 21
Author Rating: Not yet rated. Daniel Pickles
Title Test Details Integers, with optional Commas and Sign
Expression
^[+-]?(?(\d{1,3},)(\d{1,3}(,\d{3})+)|\d+)$
Description
Matches integers (no decimal points), that may have an option +/- at the front, and may be grouped by comma every three digits.
Matches
1234 | 1,234 | -45,234 | +678,789
Non-Matches
1234,34 | 456,,123 | jen8,675,309ny
Author Rating: Not yet rated. Aaron
Title Test Details Chemical Elements symbols
Expression
^((?-i)A[cglmrstu]|B[aehikr]?|C[adeflmorsu]?|D[bsy]|E[rsu]|F[emf]?|G[ade]|H[efgos]?|I[nk]?|Kr?|L[airu]|M[dgnot]|N[abdeiop]|Os?|P[abdmortu]?|R[abefghnu]|S[bcegimnr]?|T[abcehil]|U(u[bhopqst])?|V|W|Xe|Yb?|Z[nr])$
Description
Chemical elements of the periodic table from 1 to 118.
Matches
Hg
Non-Matches
HE
Author Rating: Not yet rated. Guy Bruneau
Title Test Details http://dermaessencecreamblog.com/growth-factor-plus/
Expression
Weight Loss
Description
What happens if you turned yourself around and began delight in the journey going with the current and allowing it to need easily and effortlessly. Growth Factor Plus What could swimming downstream actually appear like for adhere to? Our thoughts are things! We all the results we focus on! We seem to accomplish what we don't want regarding what we really want. These are all ways simply as we can begin start swimming downstream. Read More Info:>>>>>>http://dermaessencecreamblog.com/growth-factor-plus/
Matches
fdg
Non-Matches
dg
Author Rating: Not yet rated. Dan Hicks
Title Test Details Phone
Expression
^(\+{1,2}?([0-9]{2,4}|\([0-9]{2,4}\))?(-|\s)?)?[0-9]{2,3}(-|\s)?[0-9\-]{5,10}$
Description
Detect most pattern of universal phone numbers
Matches
+(934)-50-1234567
Non-Matches
-94-567834
Author Rating: Not yet rated. Nir
Title Test Details Fastmail customer service
Expression
fastmail customer service provide instant help for fastmail user at fastmail customer care phone number
Description
Fastmail is a web based email account that is being used as a premier support sources for its entire users. This web mail account is highly used through number of users around the world in order to share and receive emails at ease. At the meantime if user face any of technical issue then this web mail account is always gets ready to help out diverse users while facing any technical issues as technician ask its email ID in order to subscribe Fastmail customer service to seek technical help ay time.
Matches
http://www.iteraa.com/fastmail-customer-service
Non-Matches
fastmail customer service
Author Rating: The rating for this expression. iteraa
Title Test Details Email address validation
Expression
^([+a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,6}|[0-9]{1,3})(\]?)$
Description
Checks if an email address is valid.
Matches
user.name_in_the-server+suffix@the.server-name.tld
Non-Matches
bad@address@server.tld
Author Rating: Not yet rated. Rafael de la Torre Consuegra
Title Test Details URL Validation
Expression
^(ftp|https?):\/\/([^:]+:[^@]*@)?([a-zA-Z0-9][-_a-zA-Z0-9]*\.)*([a-zA-Z0-9][-_a-zA-Z0-9]*){1}(:[0-9]+)?\/?(((\/|\[|\]|-|~|_|\.|:|[a-zA-Z0-9]|%[0-9a-fA-F]{2})*)\?((\/|\[|\]|-|~|_|\.|,|:|=||\{|\}|[a-zA-Z0-9]|%[0-9a-fA-F]{2})*\&?)*)?(#([-_.a-zA-Z0-9]|%[a-fA-F0-9]{2})*)?$
Description
This pattern can be used to validate URLs starting with ftp, http or https
Matches
https://user:password@subdomain.domain.tld:80/~user/a_1/b.2//c%203/file.extension?query=string&with=various&param_eters&and=param,eters&with[]=brackets&and:colons&uniqid={21EC2020-3AEA-1069-A2DD-08002B30309D}
Non-Matches
http://domain.....tld
Author Rating: Not yet rated. Rafael de la Torre Consuegra
Title Test Details IP Address validator
Expression
^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$
Description
Validates an IP Address. I use it in perl.
Matches
10.0.0.1, 192.168.1.1
Non-Matches
10.020.3.10, 10.1111.23.1, 192.168.1.15_1
Author Rating: Not yet rated. gansvv
Title Test Details date validations
Expression
date
Description
if (RadDatePicker1.SelectedDate == System.DateTime.Now.Date) { string strconnection; strconnection = ConfigurationSettings.AppSettings["ConnectionString"].ToString(); SqlConnection cn = new SqlConnection(strconnection); SqlCommand cmd = new SqlCommand("empattendancedetails", cn); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add("@empid", SqlDbType.Int).Direction = ParameterDirection.Input; cmd.Parameters.Add("@date", SqlDbType.DateTime).Direction = ParameterDirection.Input; cmd.Parameters.Add("@intime", SqlDbType.DateTime).Direction = ParameterDirection.Input; cmd.Parameters.Add("@outtime", SqlDbType.DateTime).Direction = ParameterDirection.Input; cmd.Parameters["@empid"].Value = Session["loginid"]; cmd.Parameters["@date"].Value = RadDatePicker1.SelectedDate.ToString(); cmd.Parameters["@intime"].Value = RadTimePicker1.SelectedDate.ToString(); cmd.Parameters["@outtime"].Value = RadTimePicker2.SelectedDate.ToString(); cn.Open(); cmd.ExecuteNonQuery(); cn.Close(); Response.Write("Record Added."); } else Response.Write("enter todays date"); }
Matches
validation
Non-Matches
not validations
Author Rating: Not yet rated. vasireddyveenavani
Title Test Details examples on storedprocedures
Expression
getting username from empid
Description
LTER PROCEDURE [dbo].[usernamecheck] @username varchar(50), @loginID int = 0 OUTPUT AS SELECT @loginID = empid from emp WHERE username=@username if @@ROWCOUNT < 1 SELECT @loginID = 0 select @loginID
Matches
storedprocedures
Non-Matches
not stored procedures
Author Rating: Not yet rated. vasireddyveenavani
Title Test Details Full Date with Abbreviated Month
Expression
(?i)^((((0[1-9])|([12][0-9])|(3[01])) ((JAN)|(MAR)|(MAY)|(JUL)|(AUG)|(OCT)|(DEC)))|((((0[1-9])|([12][0-9])|(30)) ((APR)|(JUN)|(SEP)|(NOV)))|(((0[1-9])|([12][0-9])) FEB))) \d\d\d\d ((([0-1][0-9])|(2[0-3])):[0-5][0-9]:[0-5][0-9])$
Description
Validates datetimes in an internationally resilient form that is still readable by the average person.
Matches
01 JAN 2006 13:00:00
Non-Matches
31 FEB 10 03:00:00 PM
Author Rating: Not yet rated. Simon Gill
Title Test Details Pattern Title
Expression
(?mi:(?<=^(([^'"\n])|("[^"]*"))*[\t ])_(?=\s*$))
Description
looks for line concantenation character &quot;_&quot; in vb/vb.net source files. 1) It must be preceded by at least one space or tab. 2) It must be at the end of the line (okay if followed by whitespace) 3) And it must not be in commented code Used expression at http://www.regexlib.com/REDetails.aspx?regexp_id=371 for inspiration.
Matches
<XmlAttribute("xml-att")> _ | Sub WillGetThis() _ | "will ' get this" _
Non-Matches
' Won't get this _ | Sub wontGetThis()_ | "won't get this " _ "bad code"
Author Rating: Not yet rated. Christopher Strolia-Davis
Title Test Details The Most Complete URI & URL validator, for absolute & relative URLs
Expression
^((http(s){0,1}\:\/\/){0,1}([a-z|A-Z|0-9|\.|\-|_]){4,255}(\:\d{1,5}){0,1}){0,1}((\/([a-z|A-Z|0-9|\.|\-|_]|\%[A-F|a-f|0-9]{2}){1,255}){1,255}\/{0,1}){0,1}(|\/{0,1}\?[a-z|A-Z|0-9|\.|\-|_]{1,255}\=([a-z|A-Z|0-9|\.|\-|_|\+|\:]|\%[A-F|a-f|0-9]{2}|\&[a-z|A-Z]{2,12}\;){0,255}){0,1}((\&[a-z|A-Z|0-9|\.|\-|_]{1,255}\=([a-z|A-Z|0-9|\.|\-|_|\+|\:]|\%[A-F|a-f|0-9]{2}|\&[a-z|A-Z]{2,12}\;){0,255}){0,255})(\/{0,1}|\#([a-z|A-Z|0-9|\.|\-|_|\+|\:]|\%[A-F|a-f|0-9]{2}|\&[a-z|A-Z]{2,12}\;){0,255})$
Description
Validates completely for relative and absolute paths, and allows port definitions. Also contains parameter validation, and allows for anchors and URL escape characters.
Matches
http://www.google.com | https://sub.domain.com:8080/ok | mobi.yoursite.org/%e3498549843 | /relative_path/ok/home.aspx?id=4985&x=5
Non-Matches
http://site.com/?id=4095?x=485 | http://site.com:3098594 | www.site.org?p=this is wrong
Author Rating: The rating for this expression. Stuart Steedman
Title Test Details Amol
Expression
^[a-z]
Description
amol
Matches
234
Non-Matches
234
Author Rating: Not yet rated. StephenKemi
Title Test Details Pattern Title
Expression
(http|ftp|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:/~\+#]*[\w\-\@?^=%&amp;/~\+#])?
Description
*CORRECTED: Again thanks for all the comments below. If you want to include internal domain as well change the partial code (\.[\w-_]+)+ to (\.[\w-_]+)? See the comments below* This is the regular expression I use to add links in my email program. It also ignores those suppose-to-be commas/periods/colons at the end of the URL, like this sentence &quot;check out http://www.yahoo.com/.&quot; (the period will be ignored) Note that it requires some modification to match ones that dont start with http.
Matches
http://regxlib.com/Default.aspx | http://electronics.cnet.com/electronics/0-6342366-8-8994967-1.html
Non-Matches
www.yahoo.com
Author Rating: The rating for this expression. M H
Title Test Details 0.00 to 25.00
Expression
^(([0-9]|1[0-9]|2[0-4])(\.[0-9][0-9]?)?)$|([2][5](\.[0][0]?)?)$
Description
this is reg expression for 0.00 to 25.00
Matches
12 | 13.1 | 23.99 | 8.99 | 25.00
Non-Matches
26 | 25.01 | -2 | 8. |
Author Rating: Not yet rated. Sridhar
Title Test Details Pattern Title
Expression
(?<!\\)\"(?:[^\"]*(?<!\\)\\\")*[^\"]*\"
Description
Matches quoted strings. Do not use anchors or it will not work as expected
Matches
"" | "\\" | "\"" | "abcd" | "ab\"cd" | "abcd\\"
Non-Matches
"ab | ab" | "ab\" | \"ab" | \"ab\"cd"
Author Rating: The rating for this expression. Wesley Menezes
Title Test Details Pattern Title
Expression
^(?:(?<scheme>[a-z]+):\/\/)?(?:(?<usern>[a-z0-9_.]*)(?::(?<passw>[a-z0-9_.]*))?@)?(?<domain>(?:(?:[a-z][a-z0-9_-]+\.?)+|[0-9]{1,3}(?:\.[0-9]{1,3}){3}))(?::(?<port>[0-9]+))?(?<path>(?:\/[.%a-z0-9_]*)+)?(?:\?(?<query>(?:&?[][a-z0-9_]+(?:\=?[a-z0-9_;]*)?)+))?(?:#(?<fragment>[a-z0-9_]+))?$
Description
Matches URI's! "filename.ext" is part of path. ER can't differ file name from directory name. only domain is required. scheme://usern:passw@domain:port/path/file.ext?querystring#fragment
Matches
domain | ftp://localhost:21/ | 192.168.254.0 | http://username:password@www.domain.com:1234/path1/pathX/filename.ext?query=string&example=v1#fragment
Non-Matches
non-alpha://domain | domain:non-number
Author Rating: The rating for this expression. Wesley Menezes
Title Test Details Pattern Title
Expression
^\([0-9]{3}\)\s?[0-9]{3}(-|\s)?[0-9]{4}$|^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$
Description
US telephone check
Matches
1231231234 | (123)123-1234 | 123-123-1234
Non-Matches
12312312345 | (123)-123-1234 | 123
Author Rating: Not yet rated. PJ Bijoy
Title Test Details Images FileUpload Control
Expression
^.*([^\.][\.](([gG][iI][fF])|([Jj][pP][Gg])|([Jj][pP][Ee][Gg])|([Bb][mM][pP])|([Pp][nN][Gg])))
Description
By using this we can upload only images files. This is the simplest and its execution is fast.
Matches
D:\Documents and Settings\Administrator\Desktop\New Folder\60101-prep.png
Non-Matches
D:\Documents and Settings\Administrator\Desktop\New Folder\60101-prep.pdf
Author Rating: The rating for this expression. Gaurav Agrawal
Title Test Details 1 to 9999 Positive Numbers
Expression
^[1-9]{1}$|^[0-9]{1}[0-9]{1}[0-9]{1}[0-9]{1}$|^9999$
Description
This is only +ive numbers excluding 0. It takes 1 to 9999.
Matches
1, 123, 9465, 9999
Non-Matches
0, -1, -123, 99999
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Indian Mobile numbers
Expression
^([9]{1})([234789]{1})([0-9]{8})$
Description
Its 10 digits Indian Mobile Number validation.
Matches
9829373514
Non-Matches
919829373514, 09829373514
Author Rating: The rating for this expression. Gaurav Agrawal
Title Test Details Numeric 0 to 29
Expression
^(([0-2])?([0-9]))$
Description
It is use for 0 to 29.
Matches
0 1 10 29
Non-Matches
30 -1
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Date Format Regular Expression
Expression
^\d{2}\-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec|jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec|JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)\-\d{4}$
Description
By using this you can validate your date string in (dd-MMM-yyyy) format.
Matches
23-Apr-1982 , 23-APR-1982
Non-Matches
23-04-1398
Author Rating: Not yet rated. Gaurav Agrawal
Title Test Details Date Grouped
Expression
(?<DATE>(?:(?:(?<year1>(?:1[89])|(?:[2468][048]|[3579][26]) (?!00))(?<year2>00|[02468][1235679]|[13579][01345789]) (?:(?:(?<month>(?:[0][13578])|(?:1[02])) (?<day>0[1-9]|[12][0-9]|3[01]))| (?:(?<month>0[469]|11)(?<day>0[1-9]|[12][0-9]|30))| (?:(?<month>02)(?<day>0[1-9]|1[0-9]|2[0-8])))| (?:(?:(?<year1>(?:[2468][048]|[3579][26])00)| (?<year1>(?:(?:1[89])|[2468][048]|[3579][26]) (?!00))(?<year2>[02468][048]|[13579][26])) (?:(?:(?<month>(?:(?:[0][13578])|(?:1[02]))) (?<day>0[1-9]|[12][0-9]|3[01]))| (?:(?<month>0[469]|11) (?<day>(?:0[1-9]|[12][0-9]|30)))| (?:(?<month>02)(?<day>0[1-9]|[12][0-9])))))))
Description
Test a date in the format of YYYYMMDD. and returns a match with the grouped date parts. The groups are: (example 20001101) DATE - 20011201 (the full date) year1- 20 (the century) year2- 01 (the year of the century) month- 12 (the month) day - 01 (the day of the month)
Matches
20010101 20000229 19960229 20010101 18101231
Non-Matches
19000229 19980229 20071131
Author Rating: Not yet rated. Raymond Roelands
Title Test Details Forgot Gmail Password Toll Free Number 1-866-293-8400
Expression
Gmail Customer Service 1-866-293-8400
Description
Whether you are in USA or in Canada, you should simply to simply dial the toll free Gmail Customer Service 1-866-293-8400 number and bring splendid arrangements without moving from your seat. The specialists connect with you and guarantee top of the line and quality results.
Matches
http://www.gmailcustomerservice.us/reset-gmail-forgot-password.php
Non-Matches
http://www.gmailcustomerservice.us
Author Rating: Not yet rated. Patrick Same
Title Test Details Pattern Title
Expression
^\-?[0-9]{1,3}(\,[0-9]{3})*(\.[0-9]+)?$|^[0-9]+(\.[0-9]+)?$
Description
Formatted Number with "," as thousand separator and "." as decimal separator. now accept numbers without separators of thousands.
Matches
10,000,000.123 | 3.14159265
Non-Matches
2.7,1828183
Author Rating: Not yet rated. German Gonzalez
Title Test Details Pattern Title
Expression
^\$?(\d{1,3},?(\d{3},?)*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{2})?)$
Description
Expression to handle US currency entry in .NET. Handy for regular expression validation controls where the user can be entering in a currancy value but you can't control explict entry values. Will accept a wide variety of values that can be easy cast to a double via the CDbl function. Expression is also compatible with default US string format for currency.
Matches
10000 | 10,000 | $1,000.00
Non-Matches
0.002 | x.0
Author Rating: Not yet rated. brent stineman
Title Test Details Pattern Title
Expression
^\d{0,2}(\.\d{1,4})? *%?$
Description
An expression for .NET regular expression validation controls intended to faciliate the entry of percentage values both a whole numbers or as their decimal representations. Also compatible with the default US format for string formatting for percentages. Recommend that if you intended accept a value passing this express that you strip the percentage signs and take measures to ensure that any whole values are converted to percentages.
Matches
4.0% | 0.45 | .0345
Non-Matches
123 | %12
Author Rating: Not yet rated. brent stineman
Title Test Details Pattern Title
Expression
(^\d*\.\d{2}$)
Description
If you need a textbox to allow only positive numbers with two decimal places, try this. I wanted the user to be able to enter any type of currency amount (US of course) but also have two decimal places for database field.
Matches
12.56 | 0.25 | 156.56
Non-Matches
-123.45 | 1.023 | 1.2
Author Rating: Not yet rated. Happy Jack
Title Test Details Pattern Title
Expression
^[a-zA-Z]:(\\|(\\[^\\/\s:*"<>|]+)+)>
Description
This pattern matches the windows console (cmd) prompt (also know as command prompt)
Matches
x:\dir> | x:\dir\another.dir> | x:\>
Non-Matches
x:\dir\> | x:\dir | \dir
Author Rating: The rating for this expression. Gustavo Guerra
Title Test Details Ultimate PO BOX finder
Expression
[p|P][\s]*[o|O][\s]*[b|B][\s]*[o|O][\s]*[x|X][\s]*[a-zA-Z0-9]*|\b[P|p]+(OST|ost|o|O)?\.?\s*[O|o|0]+(ffice|FFICE)?\.?\s*[B|b][O|o|0]?[X|x]+\.?\s+[#]?(\d+)*(\D+)*\b
Description
Modified version- to capture the PO BOX based on user input on the website - It will not include any Rural Route or any University Box
Matches
PO Box N,P O Box125,HC73 P.O. Box 217,P.O Box 0129,pobox123, P O Box124
Non-Matches
777 Post Oak Blvd,PSC 477 Box 396,RR 1 Box 1020
Author Rating: The rating for this expression. Senjaya Harianto
Title Test Details Urine Lab Specific Gravity Validator
Expression
(((^[>]?1.0)(\d)?(\d)?)|(^[<]?1.0(([1-9])|(\d[1-9])|([1-9]\d)))|(^[<]?1.4(0)?(0)?)|(^[<>]?1.(([123])(\d)?(\d)?)))$
Description
Range validator for urine lab panel specific gravity. The valid range is 1.000 to 1.400 inclusive. Sometimes < and > are used but not in the context of <1.000 nor >1.400. To 1, 2 or 3 decimals. Normal range is 1.003 to 1.03 but is left to the viewer.
Matches
>1.0 | <1.001 | >1.399
Non-Matches
>1.400 | 1. | 1.0011
Author Rating: Not yet rated. Michael
Title Test Details Pattern Title
Expression
(^(4|5)\d{3}-?\d{4}-?\d{4}-?\d{4}|(4|5)\d{15})|(^(6011)-?\d{4}-?\d{4}-?\d{4}|(6011)-?\d{12})|(^((3\d{3}))-\d{6}-\d{5}|^((3\d{14})))
Description
This provides an expression to calidate the four major credit cards. It can be easily broken up to use for a specific type of card. It does not validate the number being a potential real number, only in the correct format.
Matches
4111-1234-1234-1234 | 6011123412341234 | 3711-123456-12345
Non-Matches
1234567890123456 | 4111-123-1234-1234 | 412-1234-1234-1234
Author Rating: Not yet rated. Chris Love
Title Test Details UserId Validation
Expression
^(?=.*[a-zA-Z])[^\*\s]{4,8}$
Description
Validates a userID to be between 4 and 8 characters - no whitespace or asterisks and at least one alpha. ^(?=.*[a-zA-Z]) searches for one alpha [^\*\s] rejects all white space and asterisks {4,8} limits from 4-8 characters.
Matches
!@#a asdf 1234a
Non-Matches
!@#$* !@#4*a #$%a # asd 12345678a
Author Rating: Not yet rated. Nancy Blackwell
Title Test Details Almost RFC2822 Compliant Email Address Check
Expression
^(?:(?#local-part)(?#quoted)"[^\"]*"|(?#non-quoted)[a-z0-9&+_-](?:\.?[a-z0-9&+_-]+)*)@(?:(?#domain)(?#domain-name)[a-z0-9](?:[a-z0-9-]*[a-z0-9])*(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])*)*|(?#ip)(\[)?(?:[01]?\d?\d|2[0-4]\d|25[0-5])(?:\.(?:[01]?\d?\d|2[0-4]\d|25[0-5])){3}(?(1)\]|))$
Description
Validates an RFC 2822 email address, except does not allow most punctuation and non-ascii alphanumeric characters. Also does not take length requirements into account. Allows domain name and IP addresses, but ensures that the IP address entered is valid.
Matches
user@domain.com|user@127.0.0.1|user@[127.0.0.1]|user.id@domain-name.extension|"user"@domain.com
Non-Matches
userdomain.com|user@300.0.0.1|user@[127.0.0.1|.user@-domain-.com|user@"domain.com"
Author Rating: The rating for this expression. Daniel
Title Test Details Match fields in a csv row
Expression
(\"(?<word>[^\"]+|\"\")*\"|(?<word>[^,]*))
Description
This will match fields in a row of a csv file. Values can be double quoted or not. If a value is double quoted it can have commas inside it. Each value will be captured to word.
Matches
"test","test this",test, test,test ,"123,456.12"
Non-Matches
'te, st'
Author Rating: Not yet rated. jeremy chapman
Title Test Details US Phone Number
Expression
^(\{1}[2-9]{1}[0-9]{2}\){1}[ ]?[2-9]{1}[0-9]{2}(-| )?[0-9]{4}|[2-9]{1}[0-9]{2}[ ]{1}[2-9]{1}[0-9]{2}[ ]{1}[0-9]{4}|[2-9]{1}[0-9]{2}[2-9]{1}[0-9]{6}|[2-9]{1}[0-9]{2}-{1}[2-9]{1}[0-9]{2}-{1}[0-9]{4}){1}$
Description
This should be pretty complete phone number pattern. I use [0-9] when most people seem to use \d because it is easier for me to read.
Matches
(233) 233-0000,2332330000,233-233-0000,233 233 0000, etc.
Non-Matches
(233)-222-0000,(122)233-000, etc.
Author Rating: Not yet rated. Jon Turlington
Title Test Details First Given Name
Expression
^((Sir|Dr.|Mr.|Mrs.|Ms.|Rev.){1}[ ]?)?([A-Z]{1}[.]{1}([A-Z]{1}[.]{1})?|[A-Z]{1}[a-z]{1,}|[A-Z]{1}[a-z]{1,}[-]{1}[A-Z]{1}[a-z]{1,}|[A-Z]{1}[a-z]{0,}[ ]{1}[A-Z]{1}[a-z]{0,}){1}$
Description
This will allow to check to make sure the string is a First or Given Name and it can be initials and it can include a prefix.
Matches
Mr. Jon, Mr.Jon,Jon,J.D., J D, Mr. Jean-Guy etc.
Non-Matches
JD, Mr Jon, MrJon, etc.
Author Rating: The rating for this expression. Jon Turlington
Title Test Details Pattern Title
Expression
<[^>]*>
Description
HTML Pattern Matching PLEASE HELP /&lt;[^&gt;]*&gt;/ig The above pattern is only successful when html tag are simple (they don't include any javascript). This mean that the pattern will fail if something like this is within the tag &lt;input type=button value=test onclick='if(n.value&gt;5)do_this();'&gt;. It will not match the entire open n close sign. How do you write a pattern that will pass all these tag so that the pattern will match from the open to the close sign and not when it just see a &gt; within a '' or &quot;&quot;. &lt;input type=button onclick='if(n.value&gt;5)do_this();'&gt; not this &lt;br&gt; &lt;input type=button onclick=&quot;n&gt;5?a():b();&quot; value=test&gt; not this &lt;br&gt; &lt;input type=button onclick=&quot;n&gt;5?a(\&quot;OK\&quot;):b('Not Ok');&quot; value=test&gt; not this &lt;br&gt; &lt;input type=button onclick='n&gt;5' value=test onmouseover=&quot;n&lt;5&amp;&amp;n&gt;8&quot; onmouseout='if(n&gt;5)alert(\'True\');else alert(&quot;False&quot;)'&gt; not this &lt;br&gt; Any help would be greatly appreciate. Thanks a whole lot. Logan
Matches
<html>
Non-Matches
abc
Author Rating: The rating for this expression. Logan Tran
Title Test Details Pattern Title
Expression
&lt;(.*?)&gt;
Description
Can anyone help me with this problem? I want X to give me the correct index of &gt;. For example if this is my code: var MsgString=&quot;&lt;button onclick='4&gt;5?a():b();'&gt;&quot;; X=MsgString.search(/&gt;/ig); X will give me 18 instead of 30. How can I get it to ignore &gt; that are within quotes? Please help. I would really appreciate it if anybody could give me some advice. Thanks so much. -Logan
Matches
&lt;test a&gt;
Non-Matches
none
Author Rating: Not yet rated. Logan Tran
Title Test Details Pattern Title
Expression
^([0-9]{6}[\s\-]{1}[0-9]{12}|[0-9]{18})$
Description
This regular expression matches 'Switch' card numbers - a payment method used extensively in the UK.
Matches
000000 000000000000 | 000000-000000000000 | 000000000000000000
Non-Matches
000000_000000000000
Author Rating: Not yet rated. Scott Frampton
Title Test Details Currency validation
Expression
^(?!0\d)([0-9]{1,}(,[0-9]{2}))$
Description
No leading zeroes. Must have 2 digits after the decimal comma ','
Matches
0,00 | 12,34 | 2014,08
Non-Matches
00,00 | 12 | 12,3 |12,345 | 08,20
Author Rating: The rating for this expression. Alexander Ivanov
Title Test Details US Phone Number
Expression
(^[1-9]\d{2}\s*-\s*\d{3}\s*-\s*\d{4}$|^[2-9]\d{9}|^\x28\s*[2-9]\d{2}\s*\x29\s*\d{3}\s*-\s*\d{4}$)
Description
Matches properly formatted US phone numbers. Based on: http://regexlib.com/REDetails.aspx?regexp_id=22
Matches
2345678901 | (234) 567-8901 | 234-567-8901 | (234) 567-8901
Non-Matches
1234567890 | 2345678901 | 234 567 8901
Author Rating: Not yet rated. Seamus
Title Test Details Valid UK Post Codes Upper and Lower Case
Expression
^ ?(([BEGLMNSWbeglmnsw][0-9][0-9]?)|(([A-PR-UWYZa-pr-uwyz][A-HK-Ya-hk-y][0-9][0-9]?)|(([ENWenw][0-9][A-HJKSTUWa-hjkstuw])|([ENWenw][A-HK-Ya-hk-y][0-9][ABEHMNPRVWXYabehmnprvwxy])))) ?[0-9][ABD-HJLNP-UW-Zabd-hjlnp-uw-z]{2}$
Description
Matches valid UK post codes in both upper and lower case, allowing for one or zero spaces between outcode and incodes.
Matches
SW112LE | SW11 2LE | sw112le
Non-Matches
12CR0LE | 12CR 0LE | SWLE05
Author Rating: Not yet rated. Gareth Wright
Title Test Details Hexadecimal Colour
Expression
^#?(([a-fA-F0-9]{3}){1,2})$
Description
Matches any valid 3 or 6 digit hexadecimal colour value.
Matches
#ff9900 | #abc | #92fea5
Non-Matches
ab | #92a2 | 32z
Author Rating: Not yet rated. jteeuwen
Title Test Details IPv6 Address
Expression
(^\d{20}$)|(^((:[a-fA-F0-9]{1,4}){6}|::)ffff:(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3}$)|(^((:[a-fA-F0-9]{1,4}){6}|::)ffff(:[a-fA-F0-9]{1,4}){2}$)|(^([a-fA-F0-9]{1,4}) (:[a-fA-F0-9]{1,4}){7}$)|(^:(:[a-fA-F0-9]{1,4}(::)?){1,6}$)|(^((::)?[a-fA-F0-9]{1,4}:){1,6}:$)|(^::$)
Description
This matches all valid forms of an IPv6 address. Including the compatibility form used to map IPv4 addresses. As well as the base-85 encoded integer form. It takes care of value range checking on the ipv4 part (components cannot exceed 0-255). This has been tested quite thoroughly, but considering the complexity and possibilities in the formation of an IPv6 address, matching errors are not guaranteed to be absent.
Matches
::5:aef1:ffff | ::ffff:240.65.238.22 | 0:0:0:0:0:0:0:1
Non-Matches
79250:9a0: | 8 | 91cf91d3da9
Author Rating: Not yet rated. jteeuwen
Title Test Details Signed Integer
Expression
^[+-]?[0-9]+$
Description
Single- or multi-digit signed Integer.
Matches
12 | -2 | +3213
Non-Matches
abc | @41 | 43.12
Author Rating: Not yet rated. jteeuwen
Title Test Details Decimal Number
Expression
^[+-]?\d*(([,.]\d{3})+)?([,.]\d+)?([eE][+-]?\d+)?$
Description
Matches any integer or decimal number with either dot (.) or comma (,) as decimal- and thousands-separator. Also accepts Scientific notation.
Matches
-4,233.2832e12 | +232 | -0.12e-5
Non-Matches
abc | @41 | 0x423
Author Rating: Not yet rated. jteeuwen
Title Test Details ipv4 IP Address
Expression
^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})(\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9]{1,2})){3}$
Description
This matches any valid IPV4 IP Address. It includes 0-255 range checks since none of the IP components may exceed 255.
Matches
97.67.44.20 | 199.154.37.214 | 127.0.0.1
Non-Matches
63.125.94.287 | 140.370.a.187 | 94.923.1
Author Rating: Not yet rated. jteeuwen
Title Test Details Pattern Title
Expression
^(\(?[0-9]{3}[\)-\.]?\ ?)?[0-9]{3}[-\.]?[0-9]{4}$
Description
Simple US phone number matching, allowing area code or not. Allows spaces, dashes, dots, or none of the above. Area code, if entered, can be surrounded by parenthesis or not.
Matches
(555) 555-5555 | 555.555.5555 | 555-5555
Non-Matches
(555)-555-5555
Author Rating: The rating for this expression. Dan Breen
Title Test Details Strong Password
Expression
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,20}$
Description
Password between 8 and 20 characters; must contain at least one lowercase letter, one uppercase letter, one numeric digit, and one special character, but cannot contain whitespace.
Matches
Abc1234# | abcD$123 | A1b2&C3!
Non-Matches
abcd1234 | AbCd!@#$ | Abc 123#
Author Rating: The rating for this expression. Jay French
Title Test Details phone no validation
Expression
/^\+?([0-9]{2})\)?[-. ]?([0-9]{4})[-. ]?([0-9]{4})$/;
Description
i want phone no regular expression validation
Matches
/^\+?([0-9]{2})\)?[-. ]?([0-9]{4})[-. ]?([0-9]{4})$/;
Non-Matches
/^\+?([0-9]{2})\)?[-. ]?([0-9]{4})[-. ]?([0-9]{4})$/;
Author Rating: Not yet rated. krishan kumar
Title Test Details email
Expression
[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?)+(?:\.)+(?:[A-Z]{2}|aero|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|xxx|us)\b
Description
email format for registered worlwide domains only country domains are not included
Matches
mahesh@in.com, mahesh.shinde@gmail.asia
Non-Matches
mahesh@india.us, mahesh@in.-com,mahesh@rim.aol
Author Rating: Not yet rated. mahesh
Title Test Details Date format
Expression
^((19|20)\d\d)[- /.](([1-9]|[0][1-9]|1[012]))[- /.](([1-9]|[0][1-9]|1[012])|([12][0-9]|3[01]))$
Description
Date format yyyy-mm-dd
Matches
2012-02-02, 2012-2-2, 2012/2/2
Non-Matches
02-02-2012
Author Rating: Not yet rated. mahesh
Title Test Details Valid IP
Expression
\b(((?!\d\d\d)\d+|1\d\d|2[0-4]\d|25[0-5])(\b|\.)){4}
Description
match valid ip
Matches
192.168.0.1 | 10.0.0.255 | 211.100.0.0
Non-Matches
192.256.0.1 | 10.0.0.256 | 211.100.0.1000
Author Rating: The rating for this expression. sswater shi
Title Test Details Last word
Expression
\w*$
Description
Finds the last word in a string eg. the user in \\domain\user or the extension/file type in a file name.
Matches
\\domain\user
Non-Matches
I want lots of $$
Author Rating: Not yet rated. Thomas Nielsen
Title Test Details Last word
Expression
\w*$
Description
Finds the last word in a string eg. the user in \\domain\user or the extension/file type in a file name.
Matches
\\domain\user
Non-Matches
I wan't lots of $$
Author Rating: Not yet rated. Thomas Nielsen
Title Test Details sql decimal sql
Expression
\d{0,7}([\.|\,]\d{0,2})?
Description
Currently decimal(9,2) Just replace 7 and 2 in the formula
Matches
1234567,12 | 1234567.12 | 12345
Non-Matches
123456789 | asd | asd.asd
Author Rating: Not yet rated. Vincent Pilote
Title Test Details tailling zero(0)
Expression
\d+([\.|\,][0]+?[1-9]+)?
Description
remove the tailling zero (0) awfully cannot resolve the .00000 problem
Matches
129.29 | 129.000000029 | 129.000000
Non-Matches
123.90 | 123.789878979879870 | asd...
Author Rating: Not yet rated. Vincent Pilote
Title Test Details Strip Markup Tags
Expression
(<(!--.*|script)(.|\n[^<])*(--|script)>)|(<|&lt;)(/?[\w!?]+)\s?[^<]*(>|&gt;)|(\&[\w]+\;)
Description
This regex will match all text inside angle brackets and HTML comments.
Matches
<HTML> | <!-- | <script>
Non-Matches
plainText
Author Rating: Not yet rated. Burke
Title Test Details Pattern Title
Expression
^(\d{5}-\d{4}|\d{5})$|^([a-zA-Z]\d[a-zA-Z] \d[a-zA-Z]\d)$
Description
This is a modification of the zip code regular expression submitted by Steven Smith (ssmith@aspalliance.com) It no longer matches 78754-12aA
Matches
78754 | 78754-1234 | G3H 6A3
Non-Matches
78754-12aA | 7875A | g3h6a3
Author Rating: Not yet rated. Khoi Pham
Title Test Details Pattern Title
Expression
^(user=([a-z0-9]+,)*(([a-z0-9]+){1});)?(group=([a-z0-9]+,)*(([a-z0-9]+){1});)?(level=[0-9]+;)?$
Description
This re was used for a security routine. The format is: [user=name1,name2,...,nameN;][group=group1,group2,...,groupN;][level=number;] Each component is optional, but they must appear the in order listed if applicable.
Matches
user=foo,bar,quux;group=manager,admin;level=100; | group=nobody;level=24;
Non-Matches
user=foo | blahh
Author Rating: Not yet rated. Michael Scovetta
Title Test Details Compare Number 0-9
Expression
"^[0-9]{2}"
Description
It will compare no. from zero to Nine lenght == 2
Matches
22
Non-Matches
anyother char. or numeric more thn 2
Author Rating: Not yet rated. Shahbaz Akram
Title Test Details Test Details Pattern Title
Expression
^[1-9][0-9]{3}$
Description
Simple expression to validate PassCode
Matches
1000 | 9999 | 1234
Non-Matches
123456 | 0123 | 99
Author Rating: Not yet rated. Shahbaz Akram
Title Test Details For Email
Expression
^([a-zA-Z0_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$
Description
Simple email expression. Doesn't allow numbers in the email name.
Matches
jagnarain@jns.com, jagnarain@jns.coms
Non-Matches
jagnarain@jns.comss, 123jagnarain@jns.comss
Author Rating: The rating for this expression. Jagnarain Singh
Title Test Details Oracle Like TimeStamp validator
Expression
^((((((0[1-9])|(1\d)|(2[0-8]))\.((0[123456789])|(1[0-2])))|(((29)|(30))\.((0[13456789])|(1[0-2])))|((31)\.((0[13578])|(1[02]))))\.\d{4})|((29)\.(02)\.\d{2}(([02468][048])|([13579][26]))))(\s((0\d)|(1\d)|(2[0-3]))\:([0-5]\d)\:([0-5]\d)\.\d{7})$
Description
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.
Matches
29.02.2008 23:50:45.1234567 | 31.03.2007 00:01:01.0000001 | 30.04.1999 01:02:03.0000000
Non-Matches
29.02.2009 23:50:45.1234567 | 31.04.2007 00:01:01.0000001 | 30.04.1999 01:02:03.0000
Author Rating: Not yet rated. Andrei Martin Aszodi
Title Test Details http://www.myutopiancleanse360.com/midogen
Expression
Wellness
Description
Exhale when you rest for a minute. Inhale and raise your arms slowly to shoulder level along with palms in. Point the right foot to the particular at a 90 degree angle and look after the left foot turned in slightly.Make sure to incorporate these simple stress-relieving workouts in your daily routine. Midogen You do not are related all of them back-to-back. Do both the breathing exercises in once slot. You'll be able to space one other workouts using the remaining entire day. More Information:>>>>>>http://www.myutopiancleanse360.com/midogen/
Matches
df
Non-Matches
sdfg
Author Rating: Not yet rated. Jaco Heward
Title Test Details UK Date Format
Expression
^(([0-9])|([0-2][0-9])|(3[0-1]))\/(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))$
Description
Simple UK Date Format dd/mm/yy or dd/mm/yyyy.
Matches
30/10/1967 30/10/67 1/1/1967
Non-Matches
32/12/1967 30/13/67
Author Rating: Not yet rated. Ben McInerney
Title Test Details Date Time Group (DTG)
Expression
^(3[0-1]|2[0-9]|1[0-9]|0[1-9])(0[0-9]|1[0-9]|2[0-3])([0-5][0-9])\sUTC\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s[0-9]{2}$
Description
In military messages and communications (e.g. on naval charts, or maps showing troop movements) the format is DDHHMMZ Mon YY, so for instance, "271545Z FEB 08" represents 15:45 Zulu time (which is to say UTC) on the 27th of February, 2008. For Radio Navigational Warnings (RNWs), the international format is slightly different, using the explicit UTC text instead of the Zulu character, becoming "DDhhmm UTC Jun YY". E.g. "240923 UTC Jun 10" is "9:23am on 24th June 2010".
Matches
312359 UTC Jun 99
Non-Matches
322567 UTC June 1999
Author Rating: Not yet rated. Ben McInerney
Title Test Details Pattern Title
Expression
"[^"\r\n]*"
Description
returns string between two quotes
Matches
Return Parent.DB.GetDataReader("CauseImmediateGet", MyIncidentEventTypeID)
Non-Matches
Return Parent.DB.GetDataReader(CauseImmediateGet", MyIncidentEventTypeID)
Author Rating: Not yet rated. Sonal Bordia
Title Test Details Indian Passport No Format
Expression
^[A-Z]{1}-[0-9]{7}$
Description
Indian Passport No Format
Matches
A-1234567
Non-Matches
a-1234567
Author Rating: The rating for this expression. Sanjeev Divekar
Title Test Details Title Pattern
Expression
(?=.*[A-Z]+.*)[A-Z0-9&%./-]*
Description
Least 1 upper case letter and accept any letter, number and symbols in the expression
Matches
A2% A.3 M-
Non-Matches
2% A,3 M*
Author Rating: Not yet rated. oniram atila
Title Test Details Pattern Title
Expression
^\.{1}
Description
simply checks to see if the first charactor is a . (dot)
Matches
.net | .blah | .anything
Non-Matches
net | net.stuff | netstuff.
Author Rating: Not yet rated. pat capozzi
Title Test Details Number or Range of numbers
Expression
^(\d*\s*\-?\s*\d*)$
Description
For numbers such as 27 or a range using spaces and/or a hyphen such as 5 - 10 (meaning between 5 and 10).
Matches
"10" "27 " "5 - 10" "27-29" "30 40"
Non-Matches
"10 Hello"
Author Rating: Not yet rated. Dave K
Title Test Details UK Phone Number
Expression
^(((\+44\s?|0044\s?)?|(\(?0))((2[03489]\)?\s?\d{4}\s?\d{4})|(1[23456789]1\)?\s?\d{3}\s?\d{4})|(1[23456789][234578][0234679]\)?\s?\d{6})|(1[2579][0245][0467]\)?\s?\d{5})|(11[345678]\)?\s?\d{3}\s?\d{4})|(1[35679][234689]\s?[46789][234567]\)?\s?\d{4,5})|([389]\d{2}\s?\d{3}\s?\d{4})|([57][0-9]\s?\d{4}\s?\d{4})|(500\s?\d{6})|(7[456789]\d{2}\s?\d{6})))$
Description
UK phone number for both Geographic (landline) and Non-Geographic (Cell) numbering. It validates a complete range of combination of area code, location and formate , it also allows international number starting from +44 or 0044 and it also allows () with area code and spaces.
Matches
+44 20 xxxx xxxx | 0044 20 xxxx xxxx | 020 xxxx xxxx | (020) xxxx xxxx | (020)xxxxxxx |020 xxxx xxxxx | (01xxx) xxxxxx | (01xxx) xxxxx | (01x1) xxx xxxx | (011x) xxx xxxx | (02x) xxxx xxxx | (01xxxx) xxxxx and (01xxxx) xxxx | 05x xxxx xxxx | 03xx xxx xxxx | 07xxx xxxxxx | 08xx xxx xxxx and 09xx xxx xxxx
Non-Matches
+44 020 xxxx xxxx | +44 (20) xxxx xxxx
Author Rating: The rating for this expression. Masood Ahmed Panezai
Title Test Details RUT and RUN
Expression
^0*(\d{1,3}(\.?\d{3})*)\-?([\dkK])$
Description
Matches any-length chilean RUT (Rol Unico Tributario) and RUN (RUT (Rol Unico Nacional), with or without dots as thousand separator, and with or without hyphen as verification digit separator. Grab 1st and 3rd match for best results. Delete the dots from 1st match === Calza con RUT chileno (Rol Unico Tributario) y RUN (RUT (Rol Unico Nacional) de cualquier largo, con o sin puntos separadores de miles, y con o sin guion como separador de digitos verificador. Considerar el 1er y 3er calce para mejores resultados. Eliminar los puntos del 1er calce
Matches
12.348-k | 00012348-k | 12348K
Non-Matches
123.48-k | 1.2-4 | 12348-k
Author Rating: The rating for this expression. Dinko Yaksic
Title Test Details Date YYYY-MM-DD
Expression
[0-9]{4}-([0][0-9]|[1][0-2])-([0][0-9]|[1][0-9]|[2][0-9]|[3][0-1])
Description
This function does basic testing for the YYYY-MM-DD date format.
Matches
1981-10-16
Non-Matches
1981-13-10
Author Rating: Not yet rated. Cornelius
Title Test Details Currency amount with or without $ and with commas
Expression
^\$?\d{1,2}\,\d{3}?\,\d{3}?(\.(\d{2}))$|^\$?\d{1,3}?\,\d{3}?(\.(\d{2}))$|^\$?\d{1,3}?(\.(\d{2}))$
Description
Needed to verify a currency amount entered has commas and two decimal spaces to the right. This has a range between 1.99 to the tens of millions. If you want to make the decimal side optional, add a question mark before the final $ in each expression.
Matches
1.99|111,111.99|11,111,111.99
Non-Matches
1.999|1111|1111111|11.9
Author Rating: Not yet rated. dawn schakett
Title Test Details Mr
Expression
UploadFriendly is an easy to use Java Applet that will allow multiple file uploads on a web server in a web page. The control supports file filtering, limits and more. Samples available in the following languages: ASP, ASP.NET, PHP, Coldfusion and JSP
Description
UploadFriendly is an easy to use Java Applet that will allow multiple file uploads on a web server in a web page. The control supports file filtering, limits and more. Samples available in the following languages: ASP, ASP.NET, PHP, Coldfusion and JSP
Matches
Multiple File Upload Applet
Non-Matches
server upload browse applet sample asp net php jsp
Author Rating: Not yet rated. Pierre Mengal
Title Test Details FrontPage RPC response
Expression
<ul>\n<li>(?<type>document_name|url)=(?<doc>.*?)<li>.*?<ul>\n(?:<li>(?<propName>.*?)\n<li>(?<propValue>.*?))+</ul>\n</ul>
Description
This expression can be used against HTML response from some methods of FrontPage RPC protocol (this protocol is used in SharePoint)
Matches
<html><head><title>vermeer RPC packet</title></head> <body> <p>method=list documents:12.0.0.6219 <p>document_list= <ul> <ul> <li>document_name=EpiDocuments/Test/SPFields2.xlsx <li>meta_info= <ul> <li>Subject <li>EW| <li>vti_rtag <li>SW|rt:21C193AD-B272-44FF-9A83-23C1688C8C09@00000000002 <li>vti_etag <li>SW|&#34;&#123;21C193AD-B272-44FF-9A83-23C1688C8C09&#125;,2&#34; <li>Keywords <li>EW| <li>_Status <li>EW| <li>vti_parserversion <li>SR|12.0.0.6219 <li>vti_modifiedby <li>SR|SHAREPOINT&#92;system <li>vti_filesize <li>IR|36778 <li>vti_timecreated <li>TR|10 Jul 2008 13:34:22 -0000 <li>vti_title <li
Non-Matches
any other than matching
Author Rating: Not yet rated. Sergey Vorushilo
Title Test Details Date with Leap year verification
Expression
^(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))$
Description
This Expression verifies all the valid date in the US Date Format.It also checks the leap year.we can use this expression with or with out the prefix of zero in the date column and month column Eg[01/02/2008 or 1/2/2008].It accepts date which are greater than the year 1900.I can assure that this will be useful for all the developers who are searching for Date entry
Matches
02/29/1984;10/9/2000;1/1/2009
Non-Matches
02/02/1899;13/02/2000;02/29/2001;02-29-2000
Author Rating: The rating for this expression. Ali Kaleth Quraizy
Title Test Details Pattern Title
Expression
(?<quote>["]?)(?<param>(?:\k<quote>{2}|[^"]+)*)\k<quote>[ ]+
Description
this regex was developed for command line parsing. it will get you one parameter per match while checking for strings enclosed in double quotes and double quotes escaping (&quot;&quot;). --&gt;you will have to add a trailing space to your input string for this regex to get your last param too
Matches
"user name" password | sa "" | "user" "i like ""quotes&
Non-Matches
it | matches | everything
Author Rating: Not yet rated. Mr Regex
Title Test Details Container Number
Expression
^([A-Z]|[a-z]){4} ?[0-9]{6}-?[0-9]{1}$
Description
Container Number
Matches
ASDF 123456-1 ASDF123456A abcd12345622
Non-Matches
ASD 123456-4
Author Rating: Not yet rated. Murat
Title Test Details DateTime 24 Hr
Expression
(([1-9])|(0[1-9])|(1[0-2]))\/(([0-9])|([0-2][0-9])|(3[0-1]))\/(([0-9][0-9])|([1-2][0,9][0-9][0-9]))\s+(20|21|22|23|[01]\d|\d)(([:.][0-5]\d){1,2})$
Description
Validates Date and time in the format mm/dd/yyyy hh:mi:ss
Matches
10/12/2012 14:58:32
Non-Matches
14/65/20 25:25:25
Author Rating: Not yet rated. hv
Title Test Details Pattern Title
Expression
[ ]*=[ ]*[\&quot;]*cid[ ]*:[ ]*([^\&quot;&lt;&gt; ]+)
Description
This is a Microsoft .NET/Mono regular expression that can be used to find the address of an embedded image inside an HTML email body. The address will be the 2nd group found in the match.
Matches
&lt;img src=&quot;cid:00a601c57cba$14028d40$ed5cc23e&quot;&gt; | background=cid:034701c5d97f$7c12fba
Non-Matches
&lt;img src=&quot;no.jpg&quot;&gt;
Author Rating: Not yet rated. Judah Himango
Title Test Details Pattern Title
Expression
&lt;img .+ src[ ]*=[ ]*\&quot;(.+)\&quot;
Description
Gets the image url in an HTML &lt;IMG&gt; tag.
Matches
&lt;img src=&quot;test.jpg&quot;&gt; | &lt;img align = &quot;left&quot; src = &quot;test.jpg&quot;&g
Non-Matches
unknown
Author Rating: Not yet rated. Judah Himango
Title Test Details Pattern Title
Expression
^-?\d*(\.\d+)?$
Description
Matches all positive &amp; negative decimal floating point numbers, to any magnitude. Allows empty string.
Matches
4.4 | .4 | -.4
Non-Matches
. | ... | zero
Author Rating: The rating for this expression. Murray Roke
Title Test Details Pattern Title
Expression
<img([^>]*[^/])>
Description
Use this along with this replacement string &lt;img\1 /&gt; to convert image tags to XHTML compliant image tags.
Matches
<img src="bob">
Non-Matches
<img src="bob" />
Author Rating: The rating for this expression. Murray Roke
Title Test Details Pounds till payday loans @ http://www.ineedloans.co.uk/ gain unsecured deals before your payday
Expression
http://www.ineedloans.co.uk/100-pound-loans.html
Description
It is time that you escape from your lack of cash situation by employing funds through the Pounds till payday loans. These deals will sanction you the cash aid before the arrival of your next payday. You can count up on these deals when you have nothing to pledge with the lender. The cash aid will be based on your needs and hence you must analyze your needs before applying. You will not have to pledge any collateral with the lender due to the unsecured cash aid that these deals offer. Apply now with an ease and secure your needs.
Matches
100 Pound Loans
Non-Matches
http://www.ineedloans.co.uk/
Author Rating: The rating for this expression. Ricky Rase
Title Test Details Disallow Special Characters in string
Expression
^[a-zA-Z0-9]+(([_][a-zA-Z0-9])?[a-zA-Z0-9]*)*$
Description
This Regular Expression. I have used with ASP.NET Regular expression for validating that input string should not have special characters(e.g. $,#,@ etc.]
Matches
Employee | Employee_Test | Employee_Dept
Non-Matches
Employee.Test | Employee$Test | Employee@Test
Author Rating: Not yet rated. Kiran Patil
Title Test Details yyyy-mm-dd hh:mm
Expression
^((\d{2}(([02468][048])|([13579][26]))[-]?((((0?[13578])|(1[02]))[-]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[-]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[-]?((0?[1-9])|([1-2][0-9])))))|(\d{2}(([02468][1235679])|([13579][01345789]))[-]?((((0?[13578])|(1[02]))[-]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[-]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[-]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\s((([0-1]?[0-9])|([2][0-3]))\:([0-5][0-9])))?$
Description
This expression will validate date format to be yyyy-mm-dd hh:mm.
Matches
2009-12-30 00:00 | 2009-02-30 00:00 | 2009-12-30 12:00
Non-Matches
2009 10 10 23:59 | 2009-10-10 25:50 | 2009 10 10 23:59
Author Rating: Not yet rated. Kiran Patil
Title Test Details Match Arabic Letters
Expression
\p{IsArabic}
Description
Matches only arabic characters
Matches
عربي
Non-Matches
134 English
Author Rating: The rating for this expression. Yasir Atabani
Title Test Details Pattern Title
Expression
(^\d{5}$)|(^\d{5}-\d{4}$)
Description
I know its probaly in the library, but i did not see it. US zip pattern 5 digits 01234 or 5 digits + 4 01234-1234
Matches
12345 | 12345-6789 | 01234
Non-Matches
1A234 | 12345-aaaa | 12345 1234
Author Rating: Not yet rated. Jay Solomon
Title Test Details http://healthflyup.com/tst-1700/
Expression
TST 1700
Description
METHODOLOGY The data for the development of this research were collected in literature surveys and websites. RESULTS It was found in this search need to be greater importance with respect to the embodiment. Education refers to the development of the individual as a whole and therefore should cover all parts, body and mind together. Physical education should be committed to the principles of unity and manifest in your practice school; concerns about the growth and development of children, accompanied by autonomy, creativity, freedom and pleasure. http://healthflyup.com/tst-1700/
Matches
dfhgfh
Non-Matches
gfh
Author Rating: Not yet rated. jessica lange
Change page:   |    Displaying page 27 of 38 pages; Items 2601 to 2700

Copyright © 2001-2016, RegexAdvice.com | ASP.NET Tutorials