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 12,780 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match page from url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-13 14:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Registration Group
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-13 16:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scst.conf parser - TargetDriver
PCRE (PHP <7.3)
Parse a portion of the SCST conf file. This separates the TARGET_DRIVER into a named 'target_driver' and 'target_content'
Submitted by
anonymous
-
4 years ago
2020-02-13 16:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
scst.conf parser - TARGET_CONTENT splitter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-13 17:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing JSON Constructs
PCRE (PHP <7.3)
This regular expression searches for a matching number of '{' and '}' and captures the curly brackets and everything inside them including nested constructs. I created it because of a need to parse JSON formatted lists.
Submitted by
Zormaster
-
4 years ago
2020-02-13 20:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DEL1tokenENDDEL1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-13 21:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
rs-reg
PCRE (PHP <7.3)
personal patterns
Submitted by
anonymous
-
4 years ago
2020-02-13 22:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Postcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-14 14:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Splunk Searches 1
PCRE (PHP <7.3)
A Search that finds ERRORS and the Destination IP's associated with those ERRORS
Submitted by
anonymous
-
4 years ago
2020-02-14 15:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse URL by subcomponent
PCRE (PHP <7.3)
This regular expression parses URLs and captures their subcomponents. It ignores port numbers. Port numbers are necessary. But, they are rarely visible in URLs. When used in a URL, it comes after the TLD separated by a colon. When using HTTP, port 80 is standard. For HTTPS, use port 443.
Submitted by
Syd Salmon
-
4 years ago
2020-02-14 21:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Quantity/unit breakdown for WHMCS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-15 21:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Using a positive lookbehind
PCRE (PHP <7.3)
From this StackOverflow question: https://stackoverflow.com/questions/60179989/how-to-match-only-first-occurrence-of-string-between-strings-using-regex
Submitted by
anonymous
-
4 years ago
2020-02-16 00:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Arabic letters (حروف عربية)
PCRE (PHP <7.3)
accept Arabic letters with spaces
Submitted by
anonymous
-
4 years ago
2020-02-16 08:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Automaton on p.996 of Cormen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-16 18:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Indian mobile/landline numbers regex with optional +91 support
ECMAScript (JavaScript)
Indian mobile/landline numbers regex with optional +91 support
Submitted by
anonymous
-
4 years ago
2020-02-17 11:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Indian mobile/landline numbers regex with +91 support
ECMAScript (JavaScript)
Indian mobile/landline numbers regex with +91 support
Submitted by
anonymous
-
4 years ago
2020-02-17 12:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
(ObjectDatabase|GSRoot)Test\.exe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-17 13:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Req1;Req2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-17 17:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Macys
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-17 18:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Tree Sitter Scope Selector
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-18 05:35
1
...
582
583
584
585
586
587
588
...
639
RegExp that accepts English, Arabic and numbers
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
[
a
-
zA
-
Z
\u0600-\u06FF
,-
\s\d
]
[
\s\d
\a
-
zA
-
Z
\u0600-\u06FF
,-
]
*
$
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
Momen Zakaria
-
7 years ago
2017-01-12 10:19