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 13,020 community submitted regex patterns...
1
PIM - Attribute not localized
PCRE (PHP <7.3)
see
Submitted by
anonymous
-
3 years ago
1
标点
Java 8
匹配大部分标点
Submitted by
anonymous
-
3 years ago
1
Regex Alamat
ECMAScript (JavaScript)
Regex untuk Alamat
Submitted by
aji
-
3 years ago
1
All numbers except all flavors of 0
ECMAScript (JavaScript)
This validator does NOT handle strings that can be interpreted as a number (expl. "0,00")
Submitted by
anonymous
-
3 years ago
1
Traefik - MDW to add slash
Golang
Used in Traefik to add slash
Submitted by
juranir.santos@gmail.com
-
3 years ago
1
sfdgvsdgdfg
Java 8
dgfdgdf
Submitted by
anonymous
-
3 years ago
1
Expressão Regular para Telefone Fixo com ou sem mascara
PCRE (PHP <7.3)
Expressão Regular para Telefone Fixo com ou sem mascara
Submitted by
Luis Nt
-
3 years ago
1
Match Literal Text Example
ECMAScript (JavaScript)
Regular Expressions Cookbook 2.1 Match Literal Text Example
Submitted by
hong
-
3 years ago
1
kim_emails
PCRE (PHP <7.3)
Regexp for simple emails
Submitted by
Vladislav Kim
-
3 years ago
1
Is Sentence Correct
ECMAScript (JavaScript)
it starts with a capital letter; it ends with a full stop, question mark or exclamation point ('.', '?' or '!'); full stops, question marks and exclamation points don't appear anywhere else in the sentence.
Submitted by
Hafiz
-
3 years ago
1
match x or y but not if z is present in a string
PCRE (PHP <7.3)
matches one or two words but excludes the string if a 3rd word is present
Submitted by
Pushpesh Kumar Rajwanshi
-
3 years ago
1
css @media match - not complete -
ECMAScript (JavaScript)
css @media match - not complete -
Submitted by
anonymous
-
3 years ago
1
Match all words starting with "a" not in a Tag
ECMAScript (JavaScript)
Match all words that are not in a tag. Non-matching do not prevent matches. But fails to match terms between if no intervening
Submitted by
Michael Chambers
-
3 years ago
1
Custom Array Type Declaration Finder
ECMAScript (JavaScript)
This Regex can be used to find the custom array types in jsdoc typdefs
Submitted by
pranomvignesh
-
3 years ago
1
How do i use regex in google data studio to extract text between two characters?
ECMAScript (JavaScript)
For Mike Griffin
Submitted by
anonymous
-
3 years ago
1
Username Validation
ECMAScript (JavaScript)
Super simple, just checks for 5 or more letters/numbers/symbols.
Submitted by
Ryan Varley
-
3 years ago
(Last modified 3 years ago)
1
URL check
ECMAScript (JavaScript)
What it does? The `RegExp tries to test if a url is valid or not according to Guildness for URL Display
Submitted by
javalsai
-
3 years ago
1
selects Bengali text
ECMAScript (JavaScript)
This selects Bengali using the script tag. It works in Javascript, using: text.split(/+/ug) or text.match(/[\p{Script=Bengali}]+/ug) This Regex was provided by Peter Seliger
Submitted by
anonymous
-
3 years ago
1
Phone Number Selector
ECMAScript (JavaScript)
Select a Phone Number with +98 or 0
Submitted by
Amir Hossein Khateri
-
3 years ago
1
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
3 years ago
1
...
600
601
602
603
604
...
651
Replace \n by <br />
2
Regular Expression
ECMAScript (JavaScript)
/
(
\n
|
\\
n
)
(?!
$
)
/
g
Open regex in editor
Description
Replace non-ending string \n by the <br /> HTML tag
Submitted by
anonymous
-
10 years ago