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 13,920 community submitted regex patterns...
0
Kucoin trading
PCRE2 (PHP >=7.3)
Used to match kucoin trading links
Submitted by
anonymous
-
2 years ago
0
Replace all newlines (except double newlines) with spaces
PCRE (PHP <7.3)
In the first capturing group, match any character that isn't a newline, then, match a newline, then, in a non-capturing group, match a newline. Replace the the entire matched sequence with contents of the first capturing group followed by a space.
Submitted by
anonymous
-
2 years ago
0
Get HTML Balise
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
2 years ago
0
google
PCRE2 (PHP >=7.3)
google api
Submitted by
anonymous
-
2 years ago
0
Card number
PCRE2 (PHP >=7.3)
Card number
Submitted by
anonymous
-
2 years ago
0
Network Address
PCRE (PHP <7.3)
-
Submitted by
anonymous
-
2 years ago
0
Valid domain Check
PCRE2 (PHP >=7.3)
Valid domain check, includes multibyte character check.
Submitted by
anonymous
-
2 years ago
0
Twig Translation Regex
PCRE2 (PHP >=7.3)
Twig Translation Regex
Submitted by
selcuk mart <admin@hostingdevi.com>
-
2 years ago
0
Phone number
Python
Phone number
Submitted by
anonymous
-
2 years ago
0
get package and version from path after several words
PCRE2 (PHP >=7.3)
skip a word initially then get the package from pair of slashes
Submitted by
anonymous
-
2 years ago
0
TI dis6x to "binary as ASCII"
PCRE2 (PHP >=7.3)
Automated version of process described here Takes TI dis6x disassembly output Removes leading address and spaces Rotates endianess Presents as "binary as ASCII" blob ready for insertion with HEX edit tool...
Submitted by
https://github.com/ELynx
-
2 years ago
(Last modified 2 years ago)
0
decimal double point with range number from minus to plus range number
Python
the decimal, double point with range number from minus to plus range number, the example from -199.99 to 199.99 revision from example pattern 1: ^(?:\-?10(?:\.\d\d?)?|\-?[1]?[1-9]?0-9?)$
Submitted by
eki.saputra
-
2 years ago
(Last modified 2 years ago)
0
regular expresion mathematical expression
Python
re to validate x/(x+b)=(dx)/a like 7/(x+9) = (4x)/3
Submitted by
anonymous
-
2 years ago
0
get package and version from path after several words
PCRE2 (PHP >=7.3)
get package and version from path after several words
Submitted by
anonymous
-
2 years ago
0
20220708 Complex Regular Expression for testing purpose
PCRE2 (PHP >=7.3)
The description of css testing regular expression, It was created to test how social snippet works on Regex101. We''ll it soon in Slack, Facebook, Tweeter and other popular sharing services. Who knows which resalts we'll get. 2 The description of css testing regular expression, It was created to tes...
Submitted by
Anton Author Name Siluyanov
-
2 years ago
0
Illegal characters for directory name
Java 8
Pattern matches to all illegal characters in directory name. Can be useful for normalizing the folder name before creating it
Submitted by
Vlad Yevtushenko
-
2 years ago
0
flake8-sql False Positives
Python
An example false positive matching docstring for the regex used by flake8-sql (https://github.com/pgjones/flake8-sql).
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Extract, match domain from URL
PCRE2 (PHP >=7.3)
Worryin’ about you is like wonderin’ if the sun gonna come up.
Submitted by
@seocringe
-
2 years ago
0
ISO8601 Date/Time Parser
Python
Parses most of the variations of ISO8601 that are allowed, including dates only and date/time with or without the time zone.
Submitted by
Mumblepins
-
2 years ago
0
name of variable being assigned to a specific value
PCRE2 (PHP >=7.3)
name of variable being assigned to a specific value
Submitted by
Lesley Chang
-
2 years ago
1
...
638
639
640
641
642
...
696
HGVS coding RNA substitution
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<reference_sequence>
(
NM
|
NR
|
XM
|
XR
)
_
[
0
-
9
]
{4,12}
|
ENST
[
0
-
9
]
{1,11}
)
(
\.
(?P<version>
(
[
0
-
9
]
?
[
0
-
9
]
)
)
)?
(
:
(?P<prefix>
c
|
n
)
\.
(?P<start>
-
?
[
1
-
9
]
[
0
-
9
]
{0,7}
)
(?P<start_offset>
[
+-
]
[
1
-
9
]
[
0
-
9
]
{0,7}
)?
(?P<ref>
[
ACTG
]
)
>
(?P<alt>
[
ACTG
]
)
)?
/
gm
Open regex in editor
Description
This Regex will match simple RNA substitution following HGVS nomenclature
Submitted by
anonymous
-
2 years ago