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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 3,940 community submitted regex patterns...
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
-
8 years ago
0
int or Float 3 decimal values
ECMAScript (JavaScript)
Accepts only integer or Flating values upto 3 decimals. To accept n decimals change (1,n)
Submitted by
Shanky
-
8 years ago
1
Find untranslated strings, angular
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Unicode alphanumeric (any language) with whitespaces
ECMAScript (JavaScript)
Match any alphanumeric string in any language. White spaces are allowed. (Usefull for ECMAScript 5)
Submitted by
Angelos Gkountis
-
8 years ago
1
allow only alpabets digits and special characters
ECMAScript (JavaScript)
allow only alpabets digits and special characters
Submitted by
anonymous
-
8 years ago
2
get href
ECMAScript (JavaScript)
gets value of href
Submitted by
me
-
8 years ago
2
URL with Port
ECMAScript (JavaScript)
no description available
Submitted by
rkl
-
8 years ago
2
Capture 2 digits after a dash
ECMAScript (JavaScript)
Find all '-' and capture 2 following digits
Submitted by
Marie Imperial
-
8 years ago
1
email bunch
ECMAScript (JavaScript)
to check email bunch with commas
Submitted by
jaswant singh
-
8 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
-
8 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
-
8 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
-
8 years ago
1
dd dd
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
IBAN regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Integers
ECMAScript (JavaScript)
Positive or negative. 0 is allowed but may not be a leading digit.
Submitted by
anonymous
-
8 years ago
2
validate german zip codes
ECMAScript (JavaScript)
no description available
Submitted by
dopa0002
-
8 years ago
1
username
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Extract domain from URL
ECMAScript (JavaScript)
Extract the domain out of an url
Submitted by
anubhava
-
8 years ago
1
xregexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
19
20
21
22
23
...
197
Select the first word of each paragraph
2
Regular Expression
ECMAScript (JavaScript)
/
\b
(
^\w
+
)
/
mg
Open regex in editor
Description
If you need to select only the firs complete word for each paragraph.
Submitted by
fmathews28
-
8 years ago