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 18,020 community submitted regex patterns...
1
Get src and srcset image attributes, and other attributes
PCRE (PHP <7.3)
Not depending on the src or srcset order, but some matches can be empty, depending on the img syntax.
Submitted by
Geoffrey Crofte & Sébastien Decamme
-
9 years ago
1
get user authentication
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
SEO RegExp
Python
SEO RegExp
Submitted by
Jay Patel
-
9 years ago
0
Last SEO RegExp
Python
Last SEO RegExp
Submitted by
Jay Patel
-
9 years ago
0
text validation
ECMAScript (JavaScript)
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
9 years ago
1
Czech phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
наличие автомобиля FALSE REG
Python
no description available
Submitted by
anonymous
-
9 years ago
1
наличие автомобиля TRUE REG
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Впереди стоящий символ и последний
Python
Опережающая и ретроспективная проверки
Submitted by
Суховерхоа Денис
-
9 years ago
1
detect bot
Python
no description available
Submitted by
luckydonald
-
9 years ago
1
yahya_asadi
ECMAScript (JavaScript)
trying to learn regex
Submitted by
yahya_asadi
-
9 years ago
0
Find all attributes and values of HTML tag
PCRE (PHP <7.3)
This regex will find all attributes, values, and the equal operator, as well as the white space between attributes. You can use this to extract all attributes to remove all inline styles.
Submitted by
Demetri Ojeda
-
9 years ago
1
Norwegian Address Pattern
PCRE (PHP <7.3)
Street name XXX, XXXX City XXX = House number XXXX = Zip code Example:...
Submitted by
Yuppielabel
-
9 years ago
1
? - One or Zero times Quantifier Example
ECMAScript (JavaScript)
Here, it matches ft or ft. & foot & feet
Submitted by
Dinesh Dontha
-
9 years ago
1
LUA double-quoted string
PCRE (PHP <7.3)
no description available
Submitted by
Daniele V
-
9 years ago
1
domain/url
Python
Finda a domain or a url, with ot without a port in a string. Includes http and https
Submitted by
Shmuel Blitz
-
9 years ago
1
parse input name
PCRE (PHP <7.3)
no description available
Submitted by
Mikhail
-
9 years ago
0
Apache Log Format Parser
Python
no description available
Submitted by
anonymous
-
9 years ago
1
input name parse variant 2
PCRE (PHP <7.3)
no description available
Submitted by
Mikhail
-
9 years ago
1
Alphanumeric splitter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
186
187
188
189
190
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<=
[
[:blank:]
]
)
\w
+
/
gm
Open regex in editor
Description
Used this in the DETECT pilot study to pull apart first names that had two parts (e.g., mary jo).
Submitted by
anonymous
-
6 years ago