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 3,960 community submitted regex patterns...
1
URL-safe, human-safe friendly IDs
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
marcoo_regex01
ECMAScript (JavaScript)
no description available
Submitted by
Peter Å ulek
-
10 years ago
1
hr
ECMAScript (JavaScript)
no description available
Submitted by
artem
-
10 years ago
1
Finding URLs within full text
ECMAScript (JavaScript)
Finds URLs in a larger body of text. URLs may or may not be enclosed in punctuation, such as parentheses, that are not part of the URL.
Submitted by
D0nB1z
-
10 years ago
1
Simple script command and parameter grabber
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Get the command
ECMAScript (JavaScript)
Simply gets the command from a script command, automatically removes unwanted spaces.
Submitted by
anonymous
-
10 years ago
1
Failure case for repeated strings
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Simple first exercise of a newbie
ECMAScript (JavaScript)
Find a group of 9 letters subdivided in groups of three by a dash.
Submitted by
Nicola Jelmorini
-
10 years ago
1
(|(ou:dn:=a)(ou:dn:=b))
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
S3 Access Log Analyzer
ECMAScript (JavaScript)
A javascript regex for parsing an S3 log line.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
1
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
10 years ago
1
Number Input That Supports Simple Math Expressions
ECMAScript (JavaScript)
RegEx matches: '5', '+5', '-5', '5+5', '-5+5', '+5+5', '5+9+7*-2' RegEx doesn't match: '5+', '5-', '5+9-', 'asdfasf5+5'
Submitted by
David Weitzenfeld
-
10 years ago
1
DEMO
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
C# constants from Unity3D's MonoBehaviour messages' docs
ECMAScript (JavaScript)
Create a static reference to the Unity MonoBehaviour messages. Select the "Messages from" http://docs.unity3d.com/ScriptReference/MonoBehaviour.html and substitute with: public const string $1 = "$1";
Submitted by
KiwiDevelop.com
-
10 years ago
1
How to limit total number of characters of match
ECMAScript (JavaScript)
I need to match a pattern as follows with the added limitation that the match must be exactly 7 characters long: /^\d[a-zA-Z]\d$/ In words, this is a 7 character sequence of 6 digits and one alphabetic character in any order. How do I limit the overall length to 7 using regex? Thanks!
Submitted by
Andy S
-
10 years ago
1
MY RFC 5322 implementation
ECMAScript (JavaScript)
My RFC 5322 implementation for email validation with few limitation on top level domain name
Submitted by
DevJustWantHaveFun
-
10 years ago
1
big apple is fool
ECMAScript (JavaScript)
no description available
Submitted by
litianzhao
-
10 years ago
1
Extract video code from YouTube URL
ECMAScript (JavaScript)
no description available
Submitted by
@uimanwashere
-
10 years ago
1
SIP Address Validator
ECMAScript (JavaScript)
This Regular Expression Validates SIP Addresses
Submitted by
Tarun Telang, Sanjay Sinha
-
10 years ago
1
...
123
124
125
126
127
...
198
Community Library Entry
-1
Regular Expression
Java 8
"
import
\s
+
[
'
\"
]
(?!
package:
)
(?<importPath>
.
*
?
)
[
'
\"
]
"
gmi
Open regex in editor
Description
find dart relative import path
Submitted by
sagarpanchal
-
a year ago