Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,880 community submitted regex patterns...
2
Bible verse, biblical string in text
ECMAScript (JavaScript)
Matches biblical strings in text. Two capture groups are used - one for the books name and another for the passages of the same book. RegEx is long because it is strict!!! If you want to also match books names without specified chapter and verses use: /((?:[1234]\s?)?[a-zа-я]+)(\s?\d+(?::(?:\d+[—–-...
Submitted by
Desislavsd
-
9 years ago
2
Title Casing
ECMAScript (JavaScript)
for use in function to title case a string; function cap(str) { return str.replace(/\w\S*/g, function(txt) { return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase(); }); }
Submitted by
Tamara F
-
9 years ago
2
github user/repo regex
Python
parses user/repo
Submitted by
luckydonald
-
9 years ago
2
Parse gMail: Get name and email addresses
ECMAScript (JavaScript)
get names and email address seperated out from comma seperated string received from gMail api
Submitted by
anonymous
-
9 years ago
2
get href
ECMAScript (JavaScript)
gets value of href
Submitted by
me
-
9 years ago
2
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
9 years ago
2
URL with Port
ECMAScript (JavaScript)
no description available
Submitted by
rkl
-
9 years ago
2
Capture 2 digits after a dash
ECMAScript (JavaScript)
Find all '-' and capture 2 following digits
Submitted by
Marie Imperial
-
9 years ago
2
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
9 years ago
2
Search for attributes
Python
A search attribues in a image tag.
Submitted by
Agustín Bouillet
-
9 years ago
2
SASS variables parser
Python
Parse SASS variables returning its variable name and properties.
Submitted by
Agustín Bouillet
-
9 years ago
2
Regular expression for matching parenthesis, two words and comma
ECMAScript (JavaScript)
Regular expression for matching parenthesis, two words and comma
Submitted by
anonymous
-
9 years ago
2
JavaScript RegEx for Version ID
ECMAScript (JavaScript)
This expression is used to attempt to ID version of code.
Submitted by
Henry Rieke
-
9 years ago
2
Select the first word of each paragraph
ECMAScript (JavaScript)
If you need to select only the firs complete word for each paragraph.
Submitted by
fmathews28
-
9 years ago
2
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
exp1
Python
no description available
Submitted by
anonymous
-
9 years ago
2
validate german zip codes
ECMAScript (JavaScript)
no description available
Submitted by
dopa0002
-
9 years ago
2
OnTheJob CSV Export to Excel Tab Delimited Import
ECMAScript (JavaScript)
Lets you rearrange columns of time data exported from the On The Job app to something more useful in Excel as required. Still a work in progress as this gets tweaked for improvement and streamlining.
Submitted by
anonymous
-
8 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
8 years ago
2
AliasMatch
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
280
281
282
283
284
...
294
Community Library Entry
35
Regular Expression
ECMAScript (JavaScript)
/
^
(
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
]
?
)
$
/
Open regex in editor
Description
Validates IPv4 IP Address
Submitted by
krzysp
-
9 years ago