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
Community Patterns
Search among 8,240 community submitted regex patterns...
0
Full URL regex
ECMAScript (JavaScript)
regex to valid a complete URL including querystring and URI encoded characters
Submitted by
anonymous
-
8 years ago
0
Cédula de identidad venezolana
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
P1 register parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Vimeo id from swf url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
apt list Version 2
Python
no description available
Submitted by
anonymous
-
8 years ago
0
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
8 years ago
0
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
8 years ago
3
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
8 years ago
0
Divide URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Javascript Literal to JSON
ECMAScript (JavaScript)
Converts a javascript literal to json format
Submitted by
Justin Echternach
-
8 years ago
-1
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
8 years ago
0
Find comments block in the source code.
ECMAScript (JavaScript)
This pattern finds comments block in the source code.
Submitted by
giraysam
-
8 years ago
0
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
8 years ago
0
po box extracter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Twitter tag regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
Palindrome
ECMAScript (JavaScript)
Captures a palindrome of 9 digits or less
Submitted by
anonymous
-
8 years ago
1
\[\ \s*[a-z#A-Z_]+\s*-?\d+([\.]\d+)*\s*\ ]/
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
espre. ok
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Todo.txt line pattern (Custom)
Python
I customized the todo.txt (see todotxt.com) normal formatting. Here is how mine works: Priority Due_Date Project#progressive_number Start_date^repeat_every Job Contexts Tags Here is an example: (A) 2016-05-24 +projectA#4 $2015-11-30^2M My todo job @context_foo @context_bar &WAIT &ANOTHER_TAG I wante...
Submitted by
Francesco Tosello
-
8 years ago
1
Delete duplicated chars
ECMAScript (JavaScript)
Deletes all duplicated chars in a string
Submitted by
Marcelo Fuentes
-
8 years ago
1
...
322
323
324
325
326
...
412
Remove all duplicate words
0
Regular Expression
ECMAScript (JavaScript)
/
\b
(
\w
+
)
(?!
\s
+
\1
\b
)
\b
/
gmi
Open regex in editor
Description
Removes all words that are NOT followed by a space, followed by the same word
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)