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 18,040 community submitted regex patterns...
1
IBM_DS parse
PCRE (PHP <7.3)
no description available
Submitted by
Anton Rastyazhenko
-
8 years ago
1
WRAP LONG STRING TO SPEC LENGTH
PCRE (PHP <7.3)
fixed we do not need \b 'cose it broke with quotes used in processed text
Submitted by
anonymous
-
8 years ago
1
Universal URL
PCRE (PHP <7.3)
Matches any forms of common URLs with a single regular expression
Submitted by
np.trivial
-
8 years ago
1
JS Variable Parser
PCRE (PHP <7.3)
Parses variables for Javascript.
Submitted by
anonymous
-
8 years ago
1
javascript anonymous function matcher
PCRE (PHP <7.3)
only anon functions
Submitted by
anonymous
-
8 years ago
1
Add ngInject to all files
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
XLS Sheet :replacement with Regex
PCRE (PHP <7.3)
This expression will be useful to distinct group of Special characters making a blocker while creating the sheet though code e.g IF sheet name is given XXX/[abc]/YYY name through code.It must be renamed as such naming is not allowed in XLS.
Submitted by
Reshma Nehlani
-
8 years ago
1
add ngInject
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
8 years ago
1
RGX lj-ARRAY
ECMAScript (JavaScript)
RGX lj-ARRAY
Submitted by
LJARRAY
-
8 years ago
1
InnerHTML
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
10-digit number
PCRE (PHP <7.3)
Accepts a 10-digit whole number only
Submitted by
SoftwareSimian
-
8 years ago
1
Y or N
PCRE (PHP <7.3)
Single character Yes Or No Accepts Y|N|y|n
Submitted by
SoftwareSimian
-
8 years ago
1
grab value from json
Python
no description available
Submitted by
anonymous
-
8 years ago
1
pull version number
Python
no description available
Submitted by
anonymous
-
8 years ago
1
t() argument extractor
PCRE (PHP <7.3)
Extracts the string passed to the Drupal t() function and keeps the string in the 3rd capture.
Submitted by
Travis Uribe
-
8 years ago
1
Big Time Regex?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
BigTimeRegex
PCRE (PHP <7.3)
Description
Submitted by
anonymous
-
8 years ago
1
BigTimeRegex2
Python
no description available
Submitted by
anonymous
-
8 years ago
1
BigTimeRegex3
Python
no description available
Submitted by
anonymous
-
8 years ago
1
...
231
232
233
234
235
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?<scheme>
\w
+
)
:
\/\/
(
(?<user>
\w
+
)
(
\:
(?<password>
[^
\/
:
]
+
)
)?
@
)?
(?<hostname>
[
\w
-.
]
+
)
(
:
(?<port>
\d
+
)
)?
\/
(?<request>
(?<path>
[^
#
\s
\?
]
+
)
(
\?
(?<query>
[^
#
\s
]
+
)
)?
(
#
(?<fragment>
[^
#
\s
]
+
)
)?
)?
/
g
Open regex in editor
Description
Matches any forms of common URLs with a single regular expression
Submitted by
np.trivial
-
8 years ago