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 11,940 community submitted regex patterns...
0
Wordpress ShorCode capture
PCRE2 (PHP >=7.3)
Regex to capture shortcodes from wordpress post content
Submitted by
dares
-
3 years ago
0
Convert giphy iframes to images
PCRE2 (PHP >=7.3)
regex to convert giphy iframes to images giphy for newsletters
Submitted by
dares
-
3 years ago
0
Remove parameters from gif images urls
PCRE2 (PHP >=7.3)
.
Submitted by
dares
-
3 years ago
0
Replace line breaks and lines like "James 5:00 PM" to clean up messages copied from slack (iPFAnO/2)
PCRE2 (PHP >=7.3)
Before I recommend XMind 8 and not the newer XMind Zen (I have not tried XMind 2021). It is available here: xmind.net/download/xmind8 (edited) :heavy_plus_sign: 1...
Submitted by
Maksim Zinovev
-
3 years ago
0
ISO style date
PCRE2 (PHP >=7.3)
yyyy/mm/dd
Submitted by
Russ Ferriday - from a Docusign template
-
3 years ago
0
Extracting Multiline Address
PCRE2 (PHP >=7.3)
Extracts multiline address into individual parts
Submitted by
anonymous
-
3 years ago
0
Nextcloud client log line parse
PCRE2 (PHP >=7.3)
Splits the parts of a line in the log of the Nextcloud sync client into usable fragments
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Host sanity check
PCRE2 (PHP >=7.3)
Super dumb sanity check for valid host
Submitted by
anonymous
-
3 years ago
0
España - CIF = NIF jurídico (normativa a Sep 2021)
PCRE2 (PHP >=7.3)
Creo que no me he dejado ningún caso. Cuenta también con el caso en que los 2 primeros números son 00, que admite dígito de control de tipo letra sea cual sea la letra inicial (naturaleza jurídica).
Submitted by
Raúl Moreno Bello
-
3 years ago
(Last modified 3 years ago)
0
Dimensions
PCRE2 (PHP >=7.3)
Regex to match dimensions
Submitted by
intern_of_the_year
-
3 years ago
0
Months (ID/ENG)
PCRE2 (PHP >=7.3)
.
Submitted by
Virtuozs
-
3 years ago
0
MD h1 change to block with anchor
PCRE2 (PHP >=7.3)
Find any lines starting with # and followed by anchor name with & and wrap it into html so that we start with this: Title &anchor and finish with something like this: ...
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
Submitted by
anonymous
-
3 years ago
0
Extract root domain from URL
PCRE (PHP <7.3)
It will extract the root domain from any URL. This includes removing subdomains, www. and the slug.
Submitted by
randywolf244
-
3 years ago
0
Grabbing inside quotes for Google Sheets
PCRE (PHP <7.3)
Sheets treats quote marks weird since that's a character used in formulas. This is the remedy for that. It does not work in the editor. This only works in Google Sheets
Submitted by
randywolf244
-
3 years ago
0
Capture Groups with back references
PCRE (PHP <7.3)
Extracting the variable names, e.g. (DOB_TT, OSTATE, etc) by setting up capture groups and extracting the 5th capture group
Submitted by
anonymous
-
3 years ago
0
URL trailing slash check
PCRE (PHP <7.3)
This determines if URL has trailing slash
Submitted by
randywolf244
-
3 years ago
0
Feet to inches converter
PCRE2 (PHP >=7.3)
This only works in Google sheets. The test string is a sheets formula that converts feet inches in this into the total number of inches.
Submitted by
randywolf244
-
3 years ago
0
Ssi
PCRE (PHP <7.3)
alphabetically Scripted
Submitted by
MGB
-
3 years ago
0
Unicode pattern
PCRE2 (PHP >=7.3)
匹配Unicode
Submitted by
anonymous
-
3 years ago
1
...
517
518
519
520
521
...
597
Removes comments from css files
0
Regular Expression
PCRE (PHP <7.3)
/
\/\*
[
\s\S
]
*
?
\*\/
/
g
Open regex in editor
Description
This regexp removes comments from css (text/css) files (multiline)
Submitted by
Ray (alrays@yandex.ru)
-
10 years ago