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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,740 community submitted regex patterns...
1
<Trigger R="(?<attacker>[\w\S]+)\ feel inspired by the Jester\."
PCRE (PHP <7.3)
idk
Submitted by
macx
-
9 years ago
0
Custom HTML placeholder matcher
PCRE (PHP <7.3)
Grab all placeholder "tags" that are alphanumeric with optional underscores. In this example my placeholders are double curly braces e.g. {{MY_VARIABLE_NAME}}. Change out the braces for whichever symbol/character you are using or add/remove more. E.g. [[MY_VARIABLE_NAME]] would be matched with \[\...
Submitted by
John Cogan
-
9 years ago
3
Extract Java Exception Message Field
PCRE (PHP <7.3)
Exception Message: java.lang.NullPointerException: Sample Java Logback Exception at Sample.errorLevel3(Sample.java:35) at Sample.errorLevel2(Sample.java:31) at Sample.errorLevel1(Sample.java:27)...
Submitted by
Amit
-
9 years ago
1
extract facebook video id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
search script tags
PCRE (PHP <7.3)
found if is content src atributes
Submitted by
Kun Csaba
-
9 years ago
-1
Extract Java Exception Message Field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
SCSS abstract class
PCRE (PHP <7.3)
Return content of %abstract { ... } for file processing
Submitted by
digitaldonkey
-
9 years ago
-2
Get the HTML table tag and all content from within
PCRE (PHP <7.3)
no description available
Submitted by
Pedro Marcelo de Sá Alves
-
9 years ago
1
(\d\d?) ([A-Z][a-z][a-z]) (\d{4});
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
test
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
9 years ago
1
TEST 2
PCRE (PHP <7.3)
no description available
Submitted by
DBU
-
9 years ago
1
TEST 1
PCRE (PHP <7.3)
no description available
Submitted by
DBU
-
9 years ago
1
[Fixed] Parse all simple math expressions (decimal, negative, whole)
PCRE (PHP <7.3)
Includes +, -, /, *, and ^. Can parse decimals. Can parse negative whole numbers and decimals. Can parse parentheses. Used only for parsing math expressions using regex.
Submitted by
anonymous
-
9 years ago
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Parse all simple math expressions (decimals, whole, negative)
PCRE (PHP <7.3)
-2.02^3(2+3.024)+3.14159-(45^23)/(19-4)
Submitted by
anonymous
-
9 years ago
1
teste
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Version parsing
PCRE (PHP <7.3)
Version parsing from following format: ..build Gets 4 groups: major, minor, build and postfix (last two only of they present in input string) For example: 1.2.3456-SNAPSHOT gets major=1, minor=2, build=3456, postfix="SNAPSHOT"...
Submitted by
Ivkond
-
9 years ago
1
reddit username
PCRE (PHP <7.3)
no description available
Submitted by
l3d00m
-
9 years ago
-3
Remove special character at first position of string
PCRE (PHP <7.3)
This search for special character at first position in the string
Submitted by
anonymous
-
9 years ago
1
...
503
504
505
506
507
...
587
PARSE NUMBERS
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
\d
{0,16}
)
\.
\d
{1,16}
)
|
(
[
0
-
9
]
{1}
)
|
(
[
1
-
9
]
{1}
\d
{0,15}
)
|
[
1
-
9
]
{1,3}
(
,
\d
{3}
){1,}
|
(
(
[
1
-
9
]
{0,3}
,
(
\d
{1,3}
)
)*
(
\.
\d
{1,16}
)
)
|
(
[
1
-
9
]
{1,3}
,
\d
{3}
)
)
$
/
gm
Open regex in editor
Description
any int, any int with decimal any int with comma delimited any int with comma delimited and decimal
Submitted by
amaroyche
-
9 years ago