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,200 community submitted regex patterns...
1
find amz kindle file size
PCRE2 (PHP >=7.3)
use .*?
Submitted by
anonymous
-
6 months ago
1
VTT to LRC
PCRE2 (PHP >=7.3)
Converts VTT (subtitle) files to LRC.
Submitted by
kagamin
-
6 months ago
1
Jina AI tokenizer
ECMAScript (JavaScript)
Source: X, Github
Submitted by
anonymous
-
6 months ago
1
radarr avoid multi
PCRE2 (PHP >=7.3)
Avoids multi movies in radarr
Submitted by
anonymous
-
6 months ago
1
OpenSearch + ElasticSearch minimum_should_match pattern
Java 8
Validation pattern to validate the minimum_should_mach value in opensearch and elasticsearch queries. For more information on the minimum_should_match field have a look here for opensearch or here for elasticsearch
Submitted by
Hackante
-
6 months ago
1
replace contiguous strings of same character A prefixed with a word by B
PCRE2 (PHP >=7.3)
$input = "I am the letter LETTERAAAAAAAAAA like AAAlpha AAAAnd I will always be the first in LETTERAAAAAlphabet."; $output = preg_replace('/(?:\G|(LETTER))A/', '$1B', $input); echo $output; Expected output: I am the letter LETTERBBBBBBBBBB like AAAlpha AAAAnd I will always be the first in LETTERBBB...
Submitted by
Davd Blanchard
-
6 months ago
1
Change YYYY-MM-DD to Wikilink in Obsidian
PCRE2 (PHP >=7.3)
Change YYYY-MM-DD to Wikilink in Obsidian This regex changes YYYY-MM-DD to "[[YYYY-MM-DD]]" for Obsidian
Submitted by
Swen Larsen
-
6 months ago
(Last modified 6 months ago)
1
Parse spcies name and coefficient in a species term
PCRE2 (PHP >=7.3)
A chemichal species has a species name like O2 or N3 The coefficient is how many of such molecules (the number of front) 2 O2 === 2 is the species
Submitted by
anonymous
-
5 months ago
1
IP address matcher
PCRE2 (PHP >=7.3)
matches any valid ip and captures the ip and port
Submitted by
Artyui
-
5 months ago
(Last modified 5 months ago)
1
.
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
5 months ago
1
HaiPhongTech
.NET 7.0 (C#)
Validator
Submitted by
anonymous
-
5 months ago
1
Bangla validation regex
ECMAScript (JavaScript)
আপনার কোডের Bangla validation regex শুধুমাত্র বাংলা ইউনিকোড রেঞ্জ (\u0980-\u09FF) অনুমোদন করছে। কিন্তু, "জোবায়দুল ইসলাম"-এর মধ্যে স্পেস ( ) রয়েছে, যা আপনার regex-এ অনুমোদিত নয়।** আপনার regex-টি নিচের মতো পরিবর্তন করুন, যাতে স্পেস এবং বাংলা চরিত্র উভয়ই গ্রহণযোগ্য হয়: const isBanglaText = (text:...
Submitted by
Zobaidul Kazi
-
5 months ago
1
tenor url match
Python
this is mainly targeted for Discord bots using Python3 /shrug haters can please cry below
Submitted by
owocado
-
5 months ago
1
Style attribute regex
PCRE2 (PHP >=7.3)
Style attribute regex
Submitted by
anonymous
-
5 months ago
1
unityourighumanity
PCRE (PHP <7.3)
minal aidzin wal Faidzin
Submitted by
anonymous
-
5 months ago
1
Match EMail
PCRE2 (PHP >=7.3)
This regular expression matches emails, params: EMail name: only latin, numbers, spec chars like line or dots. EMail domain: any characters, after dot should be minimum 2 letters. Look for examples how it will be matched in edit
Submitted by
Anonymous
-
5 months ago
1
SAML extract Attribute Values from specified Attribute
PCRE2 (PHP >=7.3)
This regex extracts Attribute Values from specified Attribute Name. Only known edge case is if a tag is the first tag in the string, but it shouldn't be the case for SAML responses It can easily adapted to do the same type of extract from an XML tag containing multiple tags containing values
Submitted by
Skerilyo
-
5 months ago
(Last modified 5 months ago)
1
gdpsfh anti-stupid
ECMAScript (JavaScript)
(refer to forum post 1357770511563624621) gdpsfh anti-stupid, matches correct gdps name if incorrect format https://mygdps.ps.fhgdps.com => mygdps http://mygdps.ps.fhgdps.com => mygdps https://mygdpsaaaaaaaaaaaa.ps.fhgdps.com => (no match because incorrect subdomain) correctinput => (no match)
Submitted by
anonymous
-
5 months ago
1
Deped LRN validator
ECMAScript (JavaScript)
This regex will validate a Deped's student's learner reference number (LRN) based from: https://www.teacherph.com/deped-learner-reference-number-lrn/
Submitted by
anonymous
-
5 months ago
1
Practica 1
PCRE2 (PHP >=7.3)
ejer hechos 1,2,3,4,5,6,7
Submitted by
aita
-
5 months ago
(Last modified 5 months ago)
1
...
834
835
836
837
838
...
910