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 5,480 community submitted regex patterns...
0
Todo
ECMAScript (JavaScript)
Regex to match consecutive identical characters. Then replace each match with `` Eg: "Hello" will yield "H1e1l2o1"
Submitted by
Chief A
-
3 years ago
0
CFF-definitions.orcid
Python
Pattern for validating a definitions.orcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
Replace <font color="stuff"> <span> tag
ECMAScript (JavaScript)
This regex fixes tags that contain a color attribute, replacing them with tags containing a style attribute
Submitted by
Alecto Irene Perez
-
3 years ago
0
IPv4 address
ECMAScript (JavaScript)
IPv4 address RegExp.
Submitted by
Sling
-
3 years ago
0
ESO
ECMAScript (JavaScript)
eso
Submitted by
KC
-
3 years ago
0
Dates in fluent language
ECMAScript (JavaScript)
Dates in fluent language
Submitted by
xxx
-
3 years ago
0
Get the number which length = 15 in string
ECMAScript (JavaScript)
Match the number which length = 15 in string
Submitted by
TQT
-
3 years ago
0
Extract the last word in a string
ECMAScript (JavaScript)
Match the last word in a string
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Password Validator
ECMAScript (JavaScript)
Requirements: 8 characters 1 number 1 symbol Note: Case Insensitive
Submitted by
Srinivas
-
3 years ago
0
YouTube ID receiver
ECMAScript (JavaScript)
Detects YouTube link in the standard format and shortcuts and it receives the ID of the YT video.
Submitted by
Velidan
-
3 years ago
0
Phone Regex
Python
For Phone Numbers
Submitted by
anonymous
-
3 years ago
0
Multi Language Letters with single space, no symbol or number or trailing spaces
ECMAScript (JavaScript)
This is tedious
Submitted by
anonymous
-
3 years ago
0
HTML Document or Fragment Heuristic
Python
From the StackOverflow question "Check if a string is html or not" there are many examples and a few approaches, some more expensive than others. Full DOM parsing and detecting constructed DOM elements is sure-fire, but slow, requiring a browser with parser and DOM representation. Regular expression...
Submitted by
Alice Bevan-McGregor
-
3 years ago
0
Get number in the middle of string
Python
From Rp. 1.000.005,52 (35 %) to 1.000.005,52
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Replace First and Last Word in string
Python
From Rp. 1000 (3 %) to 1000
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Scuffed phone number detectorizer
ECMAScript (JavaScript)
This is my first real regular expression after following some tutorials. Finds phone numbers, that's about it
Submitted by
hoylecake
-
3 years ago
0
Finds all forms of "согласен" words
Python
Finds all forms of "согласен" words
Submitted by
anonymous
-
3 years ago
0
SC Log Line Explanation
Python
Matches elements of a log entry from SC.
Submitted by
G.E. Hatt Jr
-
3 years ago
0
yaml file names with alternatives
Python
matches any file with *.yml or *.yaml
Submitted by
anonymous
-
3 years ago
0
Add missing ClassVar type annotations to arbitrarily nested Python class attributes with existing annotations.
Python
Assuming class variables are defined in SCREAMING_SNAKE_CASE, this regex searches for class attributes which do not yet have a ClassVar annotation from the typing module. This can be useful for adding missing class variables by replacing the group named 'annotation' with ClassVar[${annotation}]. I.e...
Submitted by
jrbergen
-
3 years ago
1
...
229
230
231
232
233
...
274
standard 16 columns hexdump
2
Regular Expression
ECMAScript (JavaScript)
/
[
]
*
(
.
*
)
\n
[
]
*
-
(
[
0
-
9
]
{1,5}
)
bytes:
\n
(?:
[
]
*
(
[
0
-
9A
-
F
]
{8}
)
(?:
(
[
0
-
9A
-
F
]
{2}
)
){8}
(?:
(
[
0
-
9A
-
F
]
{2}
)
){8}
.
{16}
\n
)*
[
]
*
(
[
0
-
9A
-
F
]
{8}
)
(?:
(
[
0
-
9A
-
F
]
{2}
|
)
){8}
(?:
(
[
0
-
9A
-
F
]
{2}
|
)
){8}
.
{0,16}
\n
/
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago