Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 3,580 community submitted regex patterns...
0
19 upvotes, 19 downvotes (score 34.8%) (You must be signed in to vote)
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
8 years ago
2015-06-04 14:55
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find 'console.' but not 'console.log'
ECMAScript (JavaScript)
no description available
Submitted by
Jay Johnson
-
10 years ago
2014-03-06 18:26
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Punto antes de ¿ o ¡
ECMAScript (JavaScript)
Corregir la falta de punto cuando se abre un signo de exclamación o interrogación para el idioma español.
Submitted by
paconaranjo
-
10 years ago
2014-05-15 21:29
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
9 years ago
2014-11-07 06:50
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
9 years ago
2015-03-11 17:45
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Extract info from anime filename
ECMAScript (JavaScript)
no description available
Submitted by
Haellsigh
-
9 years ago
2015-05-26 20:40
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
8 years ago
2015-06-08 21:20
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-06-17 12:12
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
UK TEL
ECMAScript (JavaScript)
UK Telephone Number REGEX no () and no spaces
Submitted by
\JOLLY
-
8 years ago
2015-06-24 16:47
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Match at least 2-letters (international)
ECMAScript (JavaScript)
RegExp to match that user has entered at least 2-letters (including international letters) in a field
Submitted by
anonymous
-
8 years ago
2015-06-30 19:36
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find any URL with no trailing slash
ECMAScript (JavaScript)
Not perfect, but better than none.
Submitted by
oneglory
-
8 years ago
2015-07-07 16:34
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
i18 language lines extraction
ECMAScript (JavaScript)
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
8 years ago
2015-07-22 07:13
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-01 14:05
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
anyword plus word
ECMAScript (JavaScript)
no description available
Submitted by
7 HJ
-
8 years ago
2015-08-21 20:36
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
URI without Trailing Slash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-26 12:50
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
src of img tag
ECMAScript (JavaScript)
get contents of src attribute
Submitted by
me
-
8 years ago
2015-09-01 08:40
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
identity
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-04 17:51
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Messages.properties language file validator
ECMAScript (JavaScript)
no description available
Submitted by
spec4u.net
-
8 years ago
2015-09-18 11:27
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Telefoonnummer
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-24 09:42
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Find PHP-like variables
ECMAScript (JavaScript)
Search a string for PHP-like variables starting with $, containing an unlimited number of non-whitespace characters and ending with a word boundary of any kind
Submitted by
Pascal Vorwerk
-
8 years ago
2015-09-26 19:33
1
...
4
5
6
7
8
9
10
...
179
Database datatype check
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(?<type>
[
a
-
zA
-
Z2
]
*
)
(
\(
(?<precision>
\d
*
)
(
,
(?<scale>
\d
*
)
)?
\)
)?
"
gms
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 months ago
2023-03-06 08:15