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
Generate random alpha characters
PCRE (PHP <7.3)
Given a string, generate random alpha characters of a particular length
Submitted by
Chetan
-
3 years ago
1
Text out of all sort of brackets (or in) SUPPORTS: { } [ ] ( ) < >
PCRE (PHP <7.3)
I made the description in a CSS file which can be viewed here Dont worry its not a virus or anything\, just inspect the source if you are suspicious \:\)
Submitted by
Tom Liesting
-
3 years ago
0
匹配整数(带小数位)
PCRE (PHP <7.3)
匹配小数位的整数,或者匹配整数
Submitted by
solelyli
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
1
Basic Phone Number Matching
ECMAScript (JavaScript)
Basic Phone Number Matching
Submitted by
Anthony Cooper
-
3 years ago
1
value-attached text
ECMAScript (JavaScript)
value-attached text
Submitted by
pyrochlore
-
3 years ago
(Last modified 3 years ago)
0
Markdown table Python regex
Python
works with tables embedded in paragraphs
Submitted by
flxvctr
-
3 years ago
1
Capturing between phrases across multiple lines
Python
Discussion https://www.reddit.com/r/regex/comments/kxtyl6/capturing_between_phrases_across_multiple_lines/ https://www.reddit.com/user/Pauley0/
Submitted by
Pauley0
-
3 years ago
0
Test
ECMAScript (JavaScript)
Haiz
Submitted by
anonymous
-
3 years ago
(Last modified 10 months ago)
1
Identify lines on an invoice
ECMAScript (JavaScript)
it identifies lines in an invoice
Submitted by
Vladox
-
3 years ago
1
Validacion de palabras con acento
ECMAScript (JavaScript)
Valida letras y palabras con acento
Submitted by
anonymous
-
3 years ago
0
Match URL or URI strings
ECMAScript (JavaScript)
Reference: https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
3 years ago
0
Trailing dot removal after number sequence
ECMAScript (JavaScript)
The capture group returns only a number with a dot if it has decimal digits, otherwise it is treated as an integer. 1.1 => 1.1 1\. => 1
Submitted by
Stefa168
-
3 years ago
0
email address
ECMAScript (JavaScript)
email address regex
Submitted by
anonymous
-
3 years ago
0
Lookbehind
ECMAScript (JavaScript)
Example of how to pull a particular piece of the URL
Submitted by
DATA_GATA
-
3 years ago
0
Niledutch voyage regex
Python
s
Submitted by
anonymous
-
3 years ago
0
parse log file for message type, message, ticket number and user
Python
for the Google interacting with the OS course final project on Coursera
Submitted by
anonymous
-
3 years ago
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
3 years ago
0
LUXOMS [DOMOTICA] : retrieve 'elements' - S - switch
Python
LUXOMS [DOMOTICA] : 'elements' - S - switch In the LUXOM configuration there are just a few number of fields to use. Therefor by using an certain syntax, to add more features and possibilities to extract later by regular expression. ...
Submitted by
anonymous
-
3 years ago
1
...
82
83
84
85
86
...
744
Conditional
-1
Regular Expression
PCRE (PHP <7.3)
/
(
:
.
+
)
(?(1)
Cool!
)
/
gm
Open regex in editor
Description
match String Cool! only if there is a : somewhere preciding it
Submitted by
anonymous
-
4 years ago