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: 4672 regular expressions found.

Change page:   |    Displaying page 215 of 234 pages; Items 4281 to 4300
Title Test Details comma seperated multiple ip address
Expression
@"^((((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))\,?)*$"
Description
Comma seperated multiple ip address
Matches
123.123.123.123,123.123.123.123
Non-Matches
12313.1231//.12333
Author Rating: Not yet rated. phani
Title Test Details Validate numbers with commas
Expression
^(\d{1,3},)?(\d{3},)+\d{3}(\.\d*)?$|^(\d*)(\.\d*)?$
Description
Validates numbers with commas.
Matches
12 - 12.45 - 12,456,456.45 -
Non-Matches
123,455.45. - 45,4564,12 - ,12,456
Author Rating: Not yet rated. Luis Fleitas
Title Test Details Pattern Title
Expression
^(?!^(PRN|AUX|CLOCK\$|NUL|CON|COM\d|LPT\d|\..*)(\..+)?$)[^\x00-\x1f\\?*<>:\;|\"/]+$
Description
Additional checks for <> and " characters
Matches
abc
Non-Matches
PRN
Author Rating: Not yet rated. Rahul Pandit
Title Test Details c++ function finder
Expression
^.*[_A-Za-z0-9]+[\t ]+[\*&]?[\t ]*[_A-Za-z0-9](::)?[_A-Za-z0-9:]+[\t ]*\(( *[ \[\]\*&A-Za-z0-9_]+ *,? *)*\).*$
Description
This (while not perfect) locates c++ function declarations. Useful for working with large source files
Matches
void helloworld(), FILE *MyClass::getFile(), int getFibbNum (int place)
Non-Matches
getFibbNum(3), int MyNum;, for (int x=1 ... )
Author Rating: Not yet rated. B Horrocks
Title Test Details Pattern Title
Expression
^((67\d{2})|(4\d{3})|(5[1-5]\d{2})|(6011))-?\s?\d{4}-?\s?\d{4}-?\s?\d{4}|3[4,7]\d{13}$
Description
Credit Card Matching - Matches Switch, Solo, Visa, MasterCard and Discover. Matches length and valid prefix. Accepts input optional spaces and dashes between number groups
Matches
5154-1234-1234-1342 | 4444333322221111 | 6767 1111 1111 1111
Non-Matches
1234123412341234 | 1111111 | 987654321
Author Rating: The rating for this expression. hazel ryan
Title Test Details Pattern Title
Expression
^((67\d{2})|(4\d{3})|(5[1-5]\d{2})|(6011))(-?\s?\d{4}){3}|(3[4,7])\d{2}-?\s?\d{6}-?\s?\d{5}$
Description
Credit Card Validation. Matches Switch/Solo, Visa, MasterCard and Discover in 4-4-4-4/4 4 4 4/4444 format and Amex in 4-6-5/4 6 5/465 format. Includes checks for prefixes, (67 for switch/solo, 4 for visa, 51-55 for MasterCard, 37/34 for Amex and 6011 for Discover. Matches all major UK debit and credit cards with spaces dashes or as a continous number
Matches
4234 1234 1234 1234 | 5434123412341234 | 3712 123456 12345
Non-Matches
1234123412341234 | 1111111 | 987654321
Author Rating: The rating for this expression. hazel ryan
Title Test Details Pattern Title
Expression
^[a-z\.]*\s?([a-z\-\']+\s)+[a-z\-\']+$
Description
Matches Names - written for credit card matching. Optional Prefix that can contain a fullstop, one or more forenames that can contain hyphens and apostrophes followed by a surname that can contain hyphens and apostrophes
Matches
Miss H Ryan | Miss Ryan | Miss Hazel Joanne Ryan
Non-Matches
Hazel | Hazel Ryan
Author Rating: The rating for this expression. hazel ryan
Title Test Details Pattern Title
Expression
((\s*([^,{]+)\s*,?\s*)*?){((\s*([^:]+)\s*:\s*([^;]+?)\s*;\s*)*?)}
Description
will break out a valid CSS stylesheet into it's components. Groups on each style, all selectors, each selector within a comma delimited list of selectors, all properties, each property set, each property and each value. In other words, it breaks it all down for you :) The only two problems I'm having with it: A) it is ignorant of comment blocks. so if you have styles within a /* */ block, it'll pick those up. B) the first style following a comment block is not parsed correctly (it incorrectly includes the comment as a selector best thing to do would be to use another regexp to remove all comments before processing with this one
Matches
div#main { position:relative; width:809px; margin-left:auto; margin-right:auto; padding:0; }
Non-Matches
-----
Author Rating: The rating for this expression. Nick Franceschina
Title Test Details Pattern Title
Expression
(^[a-zA-Z0-9]+://)
Description
Use in a .net Regex.Split() to pull the protocol out of a url into the first array entry.
Matches
myprot://server/path.asp
Non-Matches
server/path.asp
Author Rating: Not yet rated. blake wolf
Title Test Details Pattern Title
Expression
(?:/\*[\w\W]*?\*/|//[^\n]*?$|\#[^\n]*?$)
Description
Return all comment lines (starts with //) and regions (serounded by /* */) as well as compiler arguments (#) in C# code
Matches
// some comment | #region myRegion | /* other comment */
Non-Matches
for(int i = 0; i < 10; i++) | [XmlAttribute("somthing_else") | String name = "MyNa
Author Rating: Not yet rated. Ittayy Ophir
Title Test Details Absolute File Path in UNIX / LINUX
Expression
^((?!.*//.*)(?!.*/ .*)/{1}([^\\(){}:\*\?<>\|\"\'])+\.(csv|jpg|txt|pdf|dat|xls|doc))$
Description
This will match with all absolute file paths in Unix/Linux. The extensions added are csv|jpg|txt|pdf|dat|xls|doc. Can be customized for specific extensions.
Matches
/usr/local/data/userdata.xls, /home/userdata.doc, /accounts.txt
Non-Matches
//usr/local/data/userdata.xls, //usr/local/,/usr/local/ data/users.txt
Author Rating: Not yet rated. Bijaya Kumar Naik
Title Test Details Regex first letter must be capital
Expression
^((\b[A-Z0-9](\w)*\b)|\s)*$
Description
Validate first letter of each word must capital.
Matches
Amit Chandrakantbhai Rami
Non-Matches
Amit chandrakantbhai Rami
Author Rating: The rating for this expression. Amit Rami
Title Test Details Pattern Title
Expression
(^|\s|\()((([1-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-]((2[0-9]){1}|(3[01]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:])|(^|\s|\()((([0-9]){1}|([0][1-9]){1}|([1][012]){1}){1}[\/-](([11-31]){1}|([01][1-9]){1}|([1-9]){1}){1}[\/-](((19|20)([0-9][0-9]){1}|([0-9][0-9]){1})){1}(([\s|\)|:|$|\&gt;])){1}){1}){1}){1}
Description
Will match the following date formats: Preceded by a Space, Left-parentheses, or at the beginning of a line. Followed by a Space, Right-parentheses, or Colon(:), word boundary or End of line. Can have / or - as separator. Accepts 2 digit year 00-99 or 4 digit years 1900-2099 (can modify to accept any range)
Matches
01/01/2001 | 01-01-2001: | (1-1-01)
Non-Matches
13/1/2001 | 1-32-2001 | 1-1-1801
Author Rating: The rating for this expression. David Good
Title Test Details Pattern Title
Expression
(\w(\s)?)+
Description
Used to verify that the string consists of only A-z, 0 - 9 and underscore. Several words allowed, only one space between them. No spaces up front. Hey, I know it's easy, but it was not in the library! Plus, the test option here is not working well all the time.
Matches
Test | TesT | tesT9 _test9
Non-Matches
\\\
Author Rating: The rating for this expression. Alsu Fifty
Title Test Details unicode persian alphabet And Numbers
Expression
^[\u0600-\u06ff0-9\s]+$|[\u0750-\u077f0-9\s]+$|[\ufb50-\ufc3f0-9\s]+$|[\ufe70-\ufefc0-9\s]+$|[\u06cc0-9\s]+$|[\u067e0-9\s]+$|[\u06af0-9\s]$|[\u06910-9\s]+$|^$
Description
This Regex chceck an input string for persian unicode alphabet characters. For Example In C#.NET: Regex.IsMatch(Text, "^[\u0600-\u06ff0-9\s]+$|[\u0750-\u077f0-9\s]+$|[\ufb50-\ufc3f0-9\s]+$|[\ufe70-\ufefc0-9\s]+$|[\u06cc0-9\s]+$|[\u067e0-9\s]+$|[\u06af0-9\s]$|[\u06910-9\s]+$|^$");
Matches
علی|علي 123 |گچ |پژنگ| گچ پژی 123
Non-Matches
aعلی| علی 12E
Author Rating: Not yet rated. Saeed Mokhtari
Title Test Details gzip out of json Data in alfred / batman-adv server
Expression
\x1f\x8b\x08\x00.+\x00\x00
Description
regexp to get only gzip parts of alfred output. on a shell you can pipe data which is gzip compressed. on a Freifunk OPENWRT Gluonbased Router it looks like: # /lib/gluon/announce/collect.lua nodeinfo | gzip | alfred -s 158; /lib/gluon/announce/collect.lua statistics | gzip | alfred -s 159; /lib/gluon/announce/collect.lua neighb
Matches
\x1f\x8b\x08\x00laber\x00\x00 | \x1f\x8b\x08\x00rhababer\x00\x00 | \x1f\x8b\x08\x00gelabere\x00\x00
Non-Matches
\x1f\x8b\x08\x01laber\x00\x00 | \x1f\x8b\x08\x00rhababer\x00\x01 | \x1f\x8b\x08\x00ddddd\x01\x00
Author Rating: Not yet rated. viisauksena
Title Test Details validate a Venezuelan Id number (Cedula de identidad, Cédula Venezuela)
Expression
^([V|E|J|G|v|e|j|g])([0-9]{5,8})$
Description
valida una cedula venezolana: comienza por: VEGJ (o vejg) siguiendo con: entre 5 a 8 digitos.
Matches
V9123456, E81941
Non-Matches
123, sapo, 9123456, V-9123456,
Author Rating: Not yet rated. christian salazar
Title Test Details número telefónico venezuela - phone number venezuela - numero telefonico
Expression
^0[0-9]{3}-[0-9]{7}$
Description
numeros telefonicos de venezuela
Matches
0416-1239977 0424-1115588
Non-Matches
0416-239977 04241115588 123 sapo
Author Rating: The rating for this expression. christian salazar
Title Test Details https://testosteronesboosterweb.com/decabolan/
Expression
https://testosteronesboosterweb.com/decabolan/
Description
Decabolan The best time to eat fats is in the evening, when your body is more likely to use them for energy and not store them as fat. Have you ever wondered how, the muscles get toned so fast when the exercise is followed properly? You should have a mix of compound and isolated exercises - movements such as bench press, squats, deadlifts, rows, lateral pull-downs, bicep curls, tricep extensions, and lateral raises. https://testosteronesboosterweb.com/decabolan/
Matches
https://testosteronesboosterweb.com/decabolan/
Non-Matches
https://testosteronesboosterweb.com/decabolan/
Author Rating: Not yet rated. Joyce wagner
Title Test Details Real Float Number
Expression
[+-]?+(?>\d++\.?+\d*+|\d*+\.?+\d++)
Description
This regex is designed to fail fast (using possessive quantifiers) while still matching a floating decimal number all the time. Won't match scientific notation or fractions. Can be combined with other patterns. Note: This site's tester does not support them. If your language does not support possessive quantifiers try the following: (?>[+-]?)(?>(?>\d+)(?>\.?)(?>\d*)|(?>\d*)(?>\.?)(?>\d+))
Matches
+7 | -7.7 | .7 | 7. | etc
Non-Matches
1/7 | 7e10
Author Rating: The rating for this expression. Trinithis
Change page:   |    Displaying page 215 of 234 pages; Items 4281 to 4300

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