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
Relevance
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 540 community submitted regex patterns...
1
Extract form HTML in Make (Integromat)
ECMAScript (JavaScript)
In Make (Integromat) I want to extra data in email formated in HTML I need to extract : The value for First Name, Last Name, Adresse, Zip code, City
Submitted by
anonymous
-
2 years ago
1
one line html
PCRE2 (PHP >=7.3)
matches html
Submitted by
anonymous
-
2 years ago
1
html <Title>
Java 8
htnle
Submitted by
erichologist
-
2 years ago
1
Extract any link or endpoint
Java 8
Extract any link or endpoint from 1- HTML page source 2- HTTP responses 3- JS files Feel free to contact me on Telegram https://t.me/c4ir0 if you:...
Submitted by
Cairo
-
2 years ago
(Last modified 2 years ago)
1
Match all Tailwind CSS classes prefixed with dark:
PCRE2 (PHP >=7.3)
A simple expression for removing Tailwind CSS classes that are prefixed with dark: from your HTML. Can be easily changed to remove any other classes with a specific prefix. I made this so I could easily remove dark mode from Tailwind CSS components I find online.
Submitted by
hexrw
-
2 years ago
1
Find all words between #text#
PCRE2 (PHP >=7.3)
Finds all occurence in a plain text / html text where a text is between 2 hashtags : #text#
Submitted by
Kervan Mazuy
-
2 years ago
1
números html
PCRE2 (PHP >=7.3)
numeros
Submitted by
anonymous
-
2 years ago
1
HTML5 email validation
PCRE2 (PHP >=7.3)
Source: https://html.spec.whatwg.org/#e-mail-state-(type=email)
Submitted by
anonymous
-
2 years ago
1
Thai Home Telephone Validation
PCRE2 (PHP >=7.3)
refer to https://mobile.kapook.com/view7358.html
Submitted by
Chadin Chaipornpisuth
-
2 years ago
1
Full HTML recognition for Udacity Project
PCRE2 (PHP >=7.3)
Udacity AI for Trading - Project 6: Analyzing Stock Sentiment from Twits ( Sentiment Analysis) needs a HTML parsering. Examples came from the actual course exercise. Future improvements I could identify, make it a group and parser each /texttext/ pattern, if necessary ← perhaps it may have some ...
Submitted by
Eduardo Passeto
-
2 years ago
(Last modified 2 years ago)
1
Regex, find almost all text between html tags, for laravel translation
PCRE2 (PHP >=7.3)
Regex, find almost all text between html tags, for laravel translation
Submitted by
anonymous
-
2 years ago
1
force download file (HTML5)
PCRE2 (PHP >=7.3)
This regex is written for a Joomla plugin. This REGEX force to DOWNLOAD à PDF file instead of showing PDF in browser
Submitted by
Sébastien LHUILLIER
-
2 years ago
1
XML/HTML Tag selector
PCRE2 (PHP >=7.3)
Pros: Attribute-aware (but not complete parse) Content-aware (text only) Cons: Might poor performance (unnecessary matches if you work on a ssr thing)...
Submitted by
stdpi
-
2 years ago
1
Get a canonical link from html page
PCRE2 (PHP >=7.3)
Gets the canonical link from a html page provided it has one
Submitted by
anonymous
-
2 years ago
1
Capture Paragraph Text in html
Python
TLDR: It can be used to capture all the paragraphs from some webnovel sites. *update: testing other sites, I've found it lacking. This is intended to match a tag and it's closing tag. It only matches and captures if there are no other html tags nested in the tag. There is room to adjust with th...
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
Semantic Version Parser/Validator
PCRE2 (PHP >=7.3)
A regex expression that extracts the components of a semantic version and fails if the version does not conform to the semantic version spec. Based on the 2.0.0 spec
Submitted by
Vespion
-
2 years ago
1
Match all HTML heading elements and capture their titles
.NET 7.0 (C#)
Useful for matching/finding and capturing/extracting the titles of HTML heading elements. This was used to identify all heading elements within the body of a web page for the purposes of generating a Table of Contents for the page. Note: This expression could be altered for different HTML element ta...
Submitted by
Darius Liktorius
-
2 years ago
1
Typographic correction for SI units
ECMAScript (JavaScript)
Matches quantities dimensioned by SI units in typical markdown-formatted plaintext documents. Replaces any spaces or HTML entities between the number and its dimensions with a "narrow non-breaking space" character. This character may fallback to a "thin space" due to its font support. The lexicograp...
Submitted by
ecfrechette
-
2 years ago
(Last modified 2 years ago)
1
hentialheroes id girl tag
PCRE2 (PHP >=7.3)
reading the id tag from the girl harem html
Submitted by
anonymous
-
2 years ago
1
SGML Element (.Net)
PCRE2 (PHP >=7.3)
Parses an SGML . It doesn't account for name groups. See https://sgmljs.net/docs/sgmlrefman.html. Note that the "Flavor" should be .NET as things get a little weird with the # matching.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
10
11
12
13
14
...
27