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
Codice fiscale italiano
PCRE (PHP <7.3)
Regex completa per il CF. Controllo anche i casi di omocodia.
Submitted by
Virtualdummy
-
3 years ago
0
Find Anchor Tags
ECMAScript (JavaScript)
finding all anchor tags to help with removing their href attribute
Submitted by
Cezer
-
3 years ago
0
LinkedIn regex
Python
.
Submitted by
anonymous
-
3 years ago
-1
Strip from Token to End of Line
ECMAScript (JavaScript)
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
3 years ago
0
po box
Python
m
Submitted by
m
-
3 years ago
1
Select Chapters and Bad Headers
PCRE2 (PHP >=7.3)
Selects and optionally replaces repetitive chapters, headers, and other sections with a dinkus. Does not select unique chapter titles. Useful for quickly cleaning literary datasets for finetuning a model or module. Originally designed for use with NovelAI.
Submitted by
lion
-
3 years ago
(Last modified 3 years ago)
0
Lab 6 es 2.3
PCRE2 (PHP >=7.3)
Carry a payload which is either ping or pong
Submitted by
anonymous
-
3 years ago
0
lab 6 es 2.2
PCRE2 (PHP >=7.3)
messages have been sent to bob
Submitted by
anonymous
-
3 years ago
0
lab 6 es 2.1
PCRE2 (PHP >=7.3)
messages directed towards alice
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 2
PCRE2 (PHP >=7.3)
strings represent messages in the form: from: "Sender", to: "Receiver", content: "Payload"
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.3
PCRE2 (PHP >=7.3)
return a double, are named sum, and accept an arbitrary amount of doubles as input
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.2
PCRE2 (PHP >=7.3)
Accept long as first input argument
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1.1
PCRE2 (PHP >=7.3)
return an int
Submitted by
anonymous
-
3 years ago
0
Lab 6 es 1
PCRE2 (PHP >=7.3)
Accept regex in the form OutputType ServiceName ( InputType1 , InputType2 , . . . )
Submitted by
anonymous
-
3 years ago
0
Pattern-12r1
ECMAScript (JavaScript)
This pattern needs to validate serial number
Submitted by
Raj
-
3 years ago
0
123
Java 8
123
Submitted by
anonymous
-
3 years ago
0
零宽断言 - 前方不为指定字符串
PCRE (PHP <7.3)
零宽断言比较复杂。保存了一些示例待不时之需 ()表示捕获分组,()会把每个分组里的匹配的值保存起来,从左向右,以分组的左括号为标志,第一个出现的分组的组号为1,第二个为2,以此类推 (?:)表示非捕获分组,和捕获分组唯一的区别在于,非捕获分组匹配的值不会保存起来 正则表达式的先行断言和后行断言一共有 4 种形式:...
Submitted by
anonymous
-
3 years ago
0
Phone number
PCRE2 (PHP >=7.3)
Phone number
Submitted by
nipo
-
3 years ago
1
Absolute File Path Validation
ECMAScript (JavaScript)
Matches absolute file paths, such as C:\Users\username\Documents\filename.txt The path must contain a file and extension at the end
Submitted by
anonymous
-
3 years ago
0
Find coordinates
Python
Find coordinates
Submitted by
jjvillavicencio
-
3 years ago
1
...
200
201
202
203
204
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
double
+
\s
*
sum
+
\s
*
\(
\s
*
+
double
+
\s
*
(
,
+
\s
*
+
double
+
\s
*
)*
\)
/
gm
Open regex in editor
Description
return a double, are named sum, and accept an arbitrary amount of doubles as input
Submitted by
anonymous
-
3 years ago