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 5,020 community submitted regex patterns...
0
Php
PCRE2 (PHP >=7.3)
Php
Submitted by
Nickname
-
2 years ago
0
track OM cash out
PCRE2 (PHP >=7.3)
cash out tracker
Submitted by
anonymous
-
2 years ago
0
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((0[13578]|1)-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|1)-(0[1-9]|[1-2]\d|3)))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?(+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
.csv data conversion for a test case
PCRE2 (PHP >=7.3)
from "['a']" to "[""a""]"
Submitted by
anonymous
-
2 years ago
0
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
2 years ago
0
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
PCRE2 (PHP >=7.3)
Regex that allows the following: foo(bar).qax(foo(bar).qax(foo(bar).qax(foo(bar).qax()))) Its sorta hard to make out whats going on, so I will just say it: ...
Submitted by
jD3V
-
2 years ago
0
Jerem
PCRE2 (PHP >=7.3)
To match specific name based on season code
Submitted by
anonymous
-
2 years ago
0
markdown headings with underscore
PCRE2 (PHP >=7.3)
it still makes a few false positives
Submitted by
charliecalvert
-
2 years ago
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
2 years ago
0
Replace anything not a letter or a hyphen
PCRE2 (PHP >=7.3)
Make folder/url safe use with eg sed: echo 'My fancy $thing' | sed 's//-/g' results in My-fancy--thing
Submitted by
anonymous
-
2 years ago
0
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
2 years ago
0
Select links comment
PCRE2 (PHP >=7.3)
I have a lot of code that looks like this: ...
Submitted by
charliecalvert
-
2 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Drealth
PCRE2 (PHP >=7.3)
just a normal text to the drealth emojis
Submitted by
NobreHD
-
2 years ago
0
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
2 years ago
0
Normal URL
PCRE2 (PHP >=7.3)
Validates that all necessary parts of a "normal" domain are there (scheme, subdomain, secondary-level domain, top-level domain) and allows for additional subdirectories. Does not work for options like "mailto: example@email.com" or anything that does not stick to a typical web address URL.
Submitted by
Alexa J.
-
2 years ago
0
TTB fund acc 1
PCRE2 (PHP >=7.3)
my work space
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
2 years ago
0
大盘响应数据截取
PCRE2 (PHP >=7.3)
"https://finance.sina.com.cn/stock/"的响应数据 格式为-> var hq_str_s_sh000001="上证指数,3094.668,-128.073,-3.97,436653,5458126";
Submitted by
anonymous
-
2 years ago
0
Parse binomial expression input
PCRE2 (PHP >=7.3)
Parse the binomial expression input
Submitted by
nil
-
2 years ago
1
...
113
114
115
116
117
...
251
Community Library Entry
-1
Regular Expression
Python
r"
(
\A
|
\s
)
#
(
\w
+
)
"
g
Open regex in editor
Description
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago