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 11,440 community submitted regex patterns...
1
grabs first part of formula
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Non-Characters
PCRE (PHP <7.3)
TO Select Non-Characters
Submitted by
Naveen
-
8 years ago
1
UrlTest
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Url
PCRE (PHP <7.3)
Regex for full url
Submitted by
MrDenzo
-
8 years ago
1
Full url
PCRE (PHP <7.3)
For full url.
Submitted by
MrDenzo
-
8 years ago
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
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
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
...
466
467
468
469
470
...
572
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
Parameter
#
\d
+
\[
<
(?:
optional
|
required
)
>
(
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
(?:
\\
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
)*
)
(?:
or
NULL
)?
\$
[
a
-
zA
-
Z_
\x7f-\xff
]
[
a
-
zA
-
Z0
-
9_
\x7f-\xff
]
*
(?:
=
NULL
)?
\]
$
/
gm
Open regex in editor
Description
See
http://www.php.net/manual/en/reflectionparameter.tostring.php
Submitted by
Erin Millard
-
12 years ago