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 9,440 community submitted regex patterns...
0
AsciiDoc block title
Java 8
https://docs.asciidoctor.org/asciidoc/latest/blocks/add-title/
Submitted by
aisberg.de
-
2 years ago
0
Variables 2
PCRE (PHP <7.3)
chingo de cheves y desmadre
Submitted by
anonymous
-
2 years ago
0
AsciiDoc table
Java 8
https://docs.asciidoctor.org/asciidoc/latest/tables/build-a-basic-table/
Submitted by
aisbergde
-
2 years ago
0
IBAN SPAIN ESPAÑA WITH SPACES
PCRE (PHP <7.3)
IBAN SPAIN WITH SPACES. ES12 1234 4567 8975 4662 (THIS IS AN EXAMPLE)
Submitted by
anonymous
-
2 years ago
0
Фильтр русских матов
Java 8
оригинал был взят отсюда: https://gist.github.com/imDaniX/8449f40655fcc1b92ae8d756cbca1264 добавил: сучка, трахать, жопа, залупа
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Start and Ends with same Letter
Java 8
regex for a string that starts and ends with the same letter
Submitted by
anonymous
-
2 years ago
0
grade pattern
Java 8
grade pattern for chinese school grade
Submitted by
anonymous
-
a year ago
0
Mt940-61
Java 8
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
a year ago
0
Oauth2 client token matcher
Java 8
Grep the token value for almost any JSON response containing an oauth2 token as describe in rfc6749
Submitted by
Pharaphara
-
a year ago
0
cert
PCRE (PHP <7.3)
cert regex
Submitted by
anonymous
-
a year ago
0
Regular expression for positive number with 2 decimals used for displaying money
Java 8
I think from time to time we all need a regular expression for displaying numbers with 2 decimals for displaying money of various currencies in the world. This regex should only allow 1 dot or comma as a decimal separator. And only allow positive numbers and the numbers can't begin with a 0. Goals:...
Submitted by
Remzi Cavdar
-
a year ago
(Last modified 9 months ago)
0
Phone Format ( FORK )
PCRE (PHP <7.3)
f
Submitted by
anonymous
-
a year ago
0
test
Java 8
test
Submitted by
anonymous
-
a year ago
0
Tecnologie Web - Regex
PCRE (PHP <7.3)
REGEX per il progetto di tecnologie web
Submitted by
Federico Benedetti
-
a year ago
0
Switching items in a database
PCRE (PHP <7.3)
This is from "Learning the Vi editor", chapter 6 page 96
Submitted by
anonymous
-
a year ago
0
Exact match of a word in a phrase: the phrase must be composed by a single word
PCRE (PHP <7.3)
It will match if it's present only the exact word in a phrase, without any other words in the same sentence
Submitted by
anonymous
-
a year ago
0
Fix property names with spaces generated by odata2poco
PCRE (PHP <7.3)
Run in notepad++, replace with \u$1
Submitted by
anonymous
-
a year ago
0
Validate Date Represented by Integer 1900 - 2099
PCRE (PHP <7.3)
Very simple validation expression that will validate a date in the range of 19000101 through 20991231. These formats are very popular for partitioning and representing dates as Long values or Integers. This does not check for Leap year values, or the months with varying number of days. Please Note:...
Submitted by
Edward Rush
-
a year ago
0
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
a year ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
a year ago
1
...
465
466
467
468
469
...
472
4 digit numeric w/o leading zero and no repeat digits
-2
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
1
-
9
]
)
(?!
\1
)
(
[
0
-
9
]
)
(?!
\1
|
\2
)
(
[
0
-
9
]
)
(?!
\1
|
\2
|
\3
)
(
[
0
-
9
]
)
$
/
gm
Open regex in editor
Description
A pcre that capture a 4-digit numeric that does not allow a leading zero and no repeat digits.
Submitted by
Jeff Thompson
-
9 years ago