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 15,520 community submitted regex patterns...
1
Replace react createElement with factories for simple dom elements
PCRE (PHP <7.3)
This assumes you are doing import { DOM as R } from 'react'.
Submitted by
Kye Hohenberger
-
8 years ago
1
Strip Commet
ECMAScript (JavaScript)
Strip comments with /* ... */ or // ...
Submitted by
Willy
-
8 years ago
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
8 years ago
1
File extention
ECMAScript (JavaScript)
Extract file extention from URL
Submitted by
anonymous
-
8 years ago
1
find function without visibillity
PCRE (PHP <7.3)
no description available
Submitted by
rene reimann rene@die-pixler.de
-
8 years ago
1
Число любое
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Iframe src catcher
PCRE (PHP <7.3)
In an html file, locate all sources for the iframes tags
Submitted by
anonymous
-
8 years ago
1
•
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
100 to 0 with up to 2 digits after the decimal
PCRE (PHP <7.3)
no description available
Submitted by
Joe Wilson
-
8 years ago
0
splunk config stanza regex
PCRE (PHP <7.3)
Pull stanzas from splunk .conf files
Submitted by
keith muggleton
-
8 years ago
1
Match URL segment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Test log
PCRE (PHP <7.3)
Test
Submitted by
anonymous
-
8 years ago
1
Parsing a host from a URL
ECMAScript (JavaScript)
no description available
Submitted by
Alex LaFroscia
-
8 years ago
1
Detectar links, menciones y hashtags
PCRE (PHP <7.3)
Patrón para detectar links, menciones de usuarios y hashtags dentro de una cadena de texto.
Submitted by
Francisco Guevara
-
8 years ago
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
regex101.com ID and version number grabber
PCRE (PHP <7.3)
Grabs the ID and optionally version number for the regex101.com permalink. Improved fork of 'https://regex101.com/r/wY0rM7/1' which matches also this kind of links 'https://regex101.com/r/' ...
Submitted by
dUh
-
8 years ago
3
apache access log
PCRE (PHP <7.3)
parse the apache access log
Submitted by
pagu
-
8 years ago
2
Delimite a number with 3-digital block
ECMAScript (JavaScript)
no description available
Submitted by
Willy
-
8 years ago
1
Delimite a number with 3-digital block
PCRE (PHP <7.3)
no description available
Submitted by
Willy
-
8 years ago
1
email validation regex
ECMAScript (JavaScript)
no description available
Submitted by
parul
-
8 years ago
1
...
638
639
640
641
642
...
776
Match HTML Tag Contents
0
Regular Expression
PCRE (PHP <7.3)
/
<
(
[^
>
]
+
)
>
(
[^
<
]
+
)
<
(
\/
\1
)
>
/
Open regex in editor
Description
Capture group one is the tag's name, capture group two is the tag's contents.
Submitted by
anonymous
-
8 years ago