Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 320 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AsciiDoc table
Java 8
https://docs.asciidoctor.org/asciidoc/latest/tables/build-a-basic-table/
Submitted by
aisbergde
-
a year ago
2022-10-10 10:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Фильтр русских матов
Java 8
оригинал был взят отсюда: https://gist.github.com/imDaniX/8449f40655fcc1b92ae8d756cbca1264 добавил: сучка, трахать, жопа, залупа
Submitted by
anonymous
-
a year ago
2022-10-15 20:40
(Last modified a year ago)
2022-10-16 04:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Initials
.NET (C#)
get the initial of a strings
Submitted by
Eddie Choong
-
a year ago
2022-10-17 02:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Start and Ends with same Letter
Java 8
regex for a string that starts and ends with the same letter
Submitted by
anonymous
-
a year ago
2022-10-18 15:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
grade pattern
Java 8
grade pattern for chinese school grade
Submitted by
anonymous
-
a year ago
2022-10-21 03:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mt940-61
Java 8
Parse tag 61 of an mt940 statement
Submitted by
anonymous
-
a year ago
2022-10-22 03:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SSID Pattern
.NET (C#)
Length must be 7 digits Every character must be an integer
Submitted by
Abhi Reddy
-
a year ago
2022-10-23 21:18
(Last modified a year ago)
2022-10-23 23:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2022-10-25 07:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
2022-10-27 17:25
(Last modified 5 months ago)
2023-07-20 05:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
Java 8
test
Submitted by
anonymous
-
a year ago
2022-10-31 10:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
P4 file info
.NET (C#)
just p4 file command output match
Submitted by
anonymous
-
a year ago
2022-11-01 06:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CAN regex
.NET (C#)
n
Submitted by
anonymous
-
a year ago
2022-11-02 15:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Names from Wikipedia List
.NET (C#)
Matches all names in a Wikipedia List, excluding names with suffixes (eg. Jr., III, PhD, etc.) or multiple middle names.
Submitted by
Brian Kozub
-
a year ago
2022-11-03 18:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Task6.1
.NET (C#)
simple mail regex
Submitted by
anonymous
-
a year ago
2022-11-04 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Task6.2
.NET (C#)
Telephone number regex
Submitted by
anonymous
-
a year ago
2022-11-04 17:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remplazar contenido
.NET (C#)
Remplazar contenido
Submitted by
anonymous
-
a year ago
2022-11-10 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
TAP Result Log issue
.NET (C#)
This might help you to not miss some because the (.....), is dependent on the length.
Submitted by
Darwin Subramaniam
-
a year ago
2022-11-15 03:28
(Last modified a year ago)
2022-11-15 08:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Enum map to test cases
.NET (C#)
.
Submitted by
DenKu1
-
a year ago
2022-11-16 15:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
myRegEx
.NET (C#)
myRegEx
Submitted by
Avinash
-
a year ago
2022-11-19 04:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sanitize percentage input into bare real number
.NET (C#)
Turn "123,456 %" into just "123.456"! Mainly for use in C# to parse percentage as string into double. Strip away whitespace Replace comma with decimal point Only allow valid numeric input multiple commas or decimal points won't match...
Submitted by
Moravuscz
-
a year ago
2022-11-23 13:23
1
...
9
10
11
12
13
14
15
16
Valid date (DD-MM-YYYY) from 1900 to 2099
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(
(
0
)*
[
1
-
9
]
|
1
[
012
]
|
3
[
01
]
)
-
(
(
0
)*
[
1
-
9
]
|
1
[
012
]
|
2
[
012
]
|
3
[
01
]
)
-
(
19
[
0
-
9
]
[
0
-
9
]
|
20
[
0
-
9
]
[
0
-
9
]
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Nevix-Sama
-
9 months ago
2023-02-24 19:28