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

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 2
Title Test Details All existing TLDs (Top-Level Domains) according to IANA specifications
Expression
(a(?:[cdefgilmnoqrstuwxz]|ero|(?:rp|si)a)|b(?:[abdefghijmnorstvwyz]iz)|c(?:[acdfghiklmnoruvxyz]|at|o(?:m|op))|d[ejkmoz]|e(?:[ceghrstu]|du)|f[ijkmor]|g(?:[abdefghilmnpqrstuwy]|ov)|h[kmnrtu]|i(?:[delmnoqrst]|n(?:fo|t))|j(?:[emop]|obs)|k[eghimnprwyz]|l[abcikrstuvy]|m(?:[acdeghklmnopqrstuvwxyz]|il|obi|useum)|n(?:[acefgilopruz]|ame|et)|o(?:m|rg)|p(?:[aefghklmnrstwy]|ro)|qa|r[eosuw]|s[abcdeghijklmnortuvyz]|t(?:[cdfghjklmnoprtvwz]|(?:rav)?el)|u[agkmsyz]|v[aceginu]|w[fs]|y[etu]|z[amw])
Description
This regexp matches all existing TLDs (Top-Level Domains) according to IANA specifications as of 14/07/2007.
Matches
all ccTLDs (Country-Code Top-Level Domains) | all gTLDs (Generic Top-Level Domains) | .arpa
Non-Matches
n.o.n - e.x.i.s.t.i.n.g T.L.D.s
Author Rating: The rating for this expression. Daniel Beck
Title Test Details Fraction numbers
Expression
(?:-(?!0))?\d+(?:(?: \d+)?/\d+)?
Description
This regexp matches string which represents a fraction. This fraction can be in these forms:<br /> 1. # or -# (not -0)<br /> 2. #/# or -#/# (not -0/#)<br /> 3. # #/# or -# #/# (not -0 #/#)
Matches
-1, 1, -1/2, 1/2, -1 2/3, 1 2/3 | 0, 0/1, 1/0, 1 0/2, 1 2/0
Non-Matches
letters | negative zero | / | #/ | /# | # / | # #/ | # /#
Author Rating: The rating for this expression. Daniel Beck
   Displaying page 1 of 1 pages; Items 1 to 2

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