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
Community Patterns
Search among 14,880 community submitted regex patterns...
0
num pattern
ECMAScript (JavaScript)
a
Submitted by
Ibraheem
-
2 years ago
0
a
ECMAScript (JavaScript)
不得輸入0、空值、符號、負數(僅限溫度)、小數點(僅支援後2位)
Submitted by
anonymous
-
2 years ago
0
IBAN SEPA
ECMAScript (JavaScript)
This regex check for valid IBANS with SEPA only. Country definition https://www.iban.de/iban-laenderliste.html
Submitted by
Florian Bischof
-
2 years ago
0
Out of
Python
Out of
Submitted by
anonymous
-
2 years ago
0
Letras, número e traço
Golang
Substitui tudo que não for letra, número e traço
Submitted by
anonymous
-
2 years ago
0
Contas regex
Python
A simple regex for contas bancárias
Submitted by
anonymous
-
2 years ago
0
oracle_package_new_type
Golang
find/replace oracle package body new type
Submitted by
anonymous
-
2 years ago
0
singleTime ztm
Python
ss
Submitted by
pochwix2
-
2 years ago
0
mydata-collector
ECMAScript (JavaScript)
it is for regex
Submitted by
anonymous
-
2 years ago
0
Code Block Splitting
Python
Useful for getting codeblock from a text
Submitted by
anonymous
-
2 years ago
0
Intervelead 2 of 5 custas
PCRE (PHP <7.3)
Intervelead 2 of 5 custas
Submitted by
anonymous
-
2 years ago
0
UUID (compact regular expression)
ECMAScript (JavaScript)
Matches a UUID using a compact regular expression.
Submitted by
Matthew Gibbons (@accuser)
-
2 years ago
0
Author first names to initials
ECMAScript (JavaScript)
Convert citation authors list from "Last_name, First_name" to "Last_name, F."
Submitted by
Pierre Racine
-
2 years ago
0
Add missing point in author list initials
ECMAScript (JavaScript)
Add some point missing to initials in a citation author list
Submitted by
Pierre Racine
-
2 years ago
0
Finding and commenting uncommented console.log
ECMAScript (JavaScript)
Works in vsc for me and saves a lot of work!
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
price with two decimals
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
2 years ago
0
extended nginx log format
PCRE (PHP <7.3)
log_format timed '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr" ' '$request_time $upstream_response_time $pipe';
Submitted by
Pei-Tang Huang
-
2 years ago
0
define_1
ECMAScript (JavaScript)
1
Submitted by
anonymous
-
2 years ago
0
Match a line that doesn't contain a word
ECMAScript (JavaScript)
Match a line that doesn't contain a word
Submitted by
xiaoyang
-
2 years ago
0
B1 - Invert First_name and Last_name in a citation author list
ECMAScript (JavaScript)
Convert a citation author list from Pierre Racine and Luc Lauzon and Daniel Lesieur to ...
Submitted by
anonymous
-
2 years ago
1
...
716
717
718
719
720
...
744
完形填空答案提取
0
Regular Expression
Python
r"""
^
\(
?
.
*
?
(?P<qno>
\d
{1,2}
)
[
\)\.
]
\s
?
\s
?
A
\.
?
\s
?
(?P<A>
.
+
?
)
\s
+
B
\.
?
\s
?
(?P<B>
.
+
?
)
\s
+
C
\.
?
\s
?
(?P<C>
.
+
?
)
\s
+
D
\.
?
\s
?
(?P<D>
.
+
$
)
"""
gmxi
Open regex in editor
Description
提取并分组:
题号
ABCD四个答案
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)