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
email valid
Java 8
email validation
Submitted by
Hoot
-
a year ago
0
Negative search
PCRE (PHP <7.3)
Seach pattern that doesn't match
Submitted by
Gael Langlais
-
a year ago
0
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
a year ago
0
Importing Confluence Application Logs to Amazon Athena
PCRE (PHP <7.3)
Though in Athena you would need two backslash instead of one as listed above in Regex. expression in Athena. "input.regex" = '^(.?) (.?) (.?) \\[(.?)\\] \\[(.*?)\\] (.+)$'
Submitted by
Chirag Parikh
-
a year ago
0
partnkey value
Java 8
Extract value partn_key
Submitted by
anonymous
-
a year ago
0
inefficient int/float(exponent)
PCRE (PHP <7.3)
match a single number
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Extract a string key's values from a json
Java 8
Sample: Finds errorType key values from a json. Values are returned in capturing group 1 of each match. Both UNKNOWN and UNAUTHENTICATED will be captured. ...
Submitted by
amansaryal
-
a year ago
(Last modified a year ago)
0
amazIng regex
PCRE (PHP <7.3)
super
Submitted by
anonymous
-
a year ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
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
1
Only if before
PCRE (PHP <7.3)
Only if needle is before target
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
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
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
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
Tecnologie Web - Regex
PCRE (PHP <7.3)
REGEX per il progetto di tecnologie web
Submitted by
Federico Benedetti
-
a year ago
1
Group first letter, Group Remaining letters, Group White space
PCRE (PHP <7.3)
first groups all white space $1 second groups all first letter of every word except capitals third groups remaining letters
Submitted by
slimelord
-
a year ago
0
test
Java 8
test
Submitted by
anonymous
-
a year ago
0
Phone Format ( FORK )
PCRE (PHP <7.3)
f
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 8 months ago)
1
...
5
6
7
8
9
...
472
Mt940-61
0
Regular Expression
Java 8
"
:61:
(
\d
{6}
)
(
\d
+
)
(
\D
{1,2}
)
(
\D
?
)
(
[
\d
,
]
{2,15}
)
(
\D
{1}
)
(
\w
{3}
)
(
.
+
?
)
(?=
//
)
//
(
.
{0,16}
)
"
gm
Open regex in editor
Description
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
a year ago