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 300 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
awdwa
Java 8
dwa
Submitted by
dwa
-
6 months ago
2023-04-05 06:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
section headers
Java 8
ff
Submitted by
ff
-
6 months ago
2023-04-05 23:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Split up text to 40 signs
Java 8
This splits a text into sequences of max. 40 chars, concatting with a pipe
Submitted by
anonymous
-
5 months ago
2023-04-13 13:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
5 months ago
2023-04-18 14:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test everything
Java 8
hello
Submitted by
anonymous
-
5 months ago
2023-04-23 00:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
5 months ago
2023-05-02 16:38
(Last modified 4 months ago)
2023-05-12 16:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
4 months ago
2023-05-14 22:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace namespaces in xpath with local-name
.NET (C#)
Replace namespaces in xpath with local-name
Submitted by
pvlzh
-
4 months ago
2023-05-23 08:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
4 months ago
2023-05-26 00:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
for killerswim
.NET (C#)
a
Submitted by
anonymous
-
4 months ago
2023-05-29 23:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Youtube Video Id
.NET (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
4 months ago
2023-06-05 02:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JabRef biblatex alphabetic adaption
Java 8
A regex used to emulate the biblatex alphabetic citation key style in JabRef: https://discourse.jabref.org/t/use-field-markers-in-regex-for-citation-key-generator/3842
Submitted by
anonymous
-
4 months ago
2023-06-06 15:00
(Last modified 4 months ago)
2023-06-06 16:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
3 months ago
2023-06-07 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
3 months ago
2023-06-07 14:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
3 months ago
2023-06-08 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
3 months ago
2023-06-08 12:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
3 months ago
2023-06-08 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Validation
.NET (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
3 months ago
2023-06-09 06:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
3 months ago
2023-06-19 17:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel-Case Splitter (preserves Acronyms)
.NET (C#)
Splits camel-case string and preserves acronyms
Submitted by
Tyler S.
-
3 months ago
2023-06-26 18:39
1
...
12
13
14
15
Database datatype check
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(?<type>
[
a
-
zA
-
Z2
]
*
)
(
\(
(?<precision>
\d
*
)
(
,
(?<scale>
\d
*
)
)?
\)
)?
"
gms
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 months ago
2023-03-06 08:15