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 3,800 community submitted regex patterns...
-3
Regex for minimum specific character length
ECMAScript (JavaScript)
Hi All, I'm currently having an issue regarding writing regex to check minimum length of specific character. My case is for phone number. E.g. Phone number required at leat 8 character and max 19 character. However, people are allowed to write with 'space' character in between and that 'space' sho...
Submitted by
krisha
-
9 years ago
-3
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
9 years ago
-2
Select ID from regex101 URL
ECMAScript (JavaScript)
no description available
Submitted by
Vinay
-
10 years ago
-2
valid windows file name
ECMAScript (JavaScript)
no description available
Submitted by
Mitacha
-
10 years ago
-2
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
9 years ago
-2
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
9 years ago
-2
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
9 years ago
-2
Match words in a string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
domain name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
SQL Injection
ECMAScript (JavaScript)
SQL injection regEx pattern
Submitted by
Darshan Patil
-
9 years ago
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
10 years ago
0
Bad comma puctuation
ECMAScript (JavaScript)
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
10 years ago
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
omit data between single quotes
ECMAScript (JavaScript)
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
9 years ago
0
Find CSS Class with ability to replace
ECMAScript (JavaScript)
Changing class names is hard with a large codebase written in multiple languages. Classes can appear in several constructs. This tries to match the various ways a class can be represented in HTML. Plug the RegEx in to Sublime Text 2 using "Find in Files...". When replacing in ST2, change $1 to \1.
Submitted by
Matthew (@sirlancelot)
-
9 years ago
0
first num after rgb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 9 months ago)
0
Group and split string between pipe delimiters
ECMAScript (JavaScript)
Please help! This is probably a very simple task for regex experts. I want to extract and group the fields before or after each pipe character |. 1234|text1|text2|text3|text4|text5 Expected result would be separate groups e.g.: 1234...
Submitted by
Grateful or dead
-
9 years ago
1
...
71
72
73
74
75
...
190
רגקס טלפון ישראלי
0
Regular Expression
ECMAScript (JavaScript)
/
^
0
(
(
5
|
7
)
\d
{8,8}
)
$
|
^
0
(
(
2
|
3
|
4
|
8
|
9
)
\d
{7,7}
)
$
/
gm
Open regex in editor
Description
Regex שבודק אם טלפון ישראלי תקין (גם נייח וגם נייד).
Submitted by
anonymous
-
5 years ago