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 3,780 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
reuse-patterns-using-capture-groups
ECMAScript (JavaScript)
resolving the free code camp reuse-patterns-using-capture-groups problem let repeatNum = "42 42 42"; let reRegex = /^(\d+)([" "])\1\2\1$/; ^ starts with (\d+) a digit with at least one char (or else will count spaces) and have a([" "])(space) after the digit and \1 to repeat the...
Submitted by
gabriel silva lima
-
5 months ago
2023-07-13 03:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
use-capture-groups-to-search-and-replace
ECMAScript (JavaScript)
(\w+)(\s)(\w+)\2(\w+) in this exercise we have to use capture groups and then replace the string order to 'three two one'. But first, when you are using the capture group you may have asked yourself why the code below does not work: (\w+)(\s)\1\2\1 to match the sting "one two three"...
Submitted by
gabriel silva lima
-
5 months ago
2023-07-13 14:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Twitch data capturing
ECMAScript (JavaScript)
Matches the data sent by the twitch IRC and captures into various groups
Submitted by
Bucky
-
4 months ago
2023-07-31 20:27
(Last modified 4 months ago)
2023-07-31 20:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
text has numbers
ECMAScript (JavaScript)
text has numbers
Submitted by
vijay
-
4 months ago
2023-08-01 06:19
1
...
186
187
188
189
streets with one or more names with unicode characters in python
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(
[
a
-
zA
-
Z
\u00C0-\u017E
]
+
(?:
\.
|
-
|
)
)*
[
a
-
zA
-
Z
\u00C0-\u017E
]
*
$
"
gmu
Open regex in editor
Description
Loading markdown...
Submitted by
Stanicio
-
2 years ago
2022-02-13 02:14