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 11,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
US Number
PCRE2 (PHP >=7.3)
I write this to complete the Freecodecamp asssignment. This page very helpful Thanks aksonai for bringing me here
Submitted by
anonymous
-
a year ago
2022-04-13 12:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
my TODOs in IntelliJ
PCRE2 (PHP >=7.3)
looks for TODO followed by jundan. Ignoring capitalization.
Submitted by
Daniel Jr
-
a year ago
2022-04-13 16:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Translation Tags in Wordpress
PCRE2 (PHP >=7.3)
Find tags matching: __('Some string to translate','some-domain')
Submitted by
anonymous
-
a year ago
2022-04-14 11:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Log Capture
PCRE2 (PHP >=7.3)
Capture the date, host, message type, and message from the patterns in the log file.
Submitted by
Nicholas Tower
-
a year ago
2022-04-15 03:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
a year ago
2022-04-15 02:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
<style>标签的匹配
PCRE2 (PHP >=7.3)
标签的匹配
Submitted by
anonymous
-
a year ago
2022-04-15 04:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
<script>标签的匹配
PCRE2 (PHP >=7.3)
标签的匹配
Submitted by
anonymous
-
a year ago
2022-04-15 04:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UPN Compiladores
PCRE2 (PHP >=7.3)
UPN Compiladores
Submitted by
anonymous
-
a year ago
2022-04-15 18:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ipv4
PCRE2 (PHP >=7.3)
Find ipv4 addresses
Submitted by
anon
-
a year ago
2022-04-15 18:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find email addresses
Golang
find email addresses
Submitted by
anon
-
a year ago
2022-04-15 18:57
(Last modified a year ago)
2022-04-15 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
PCRE2 (PHP >=7.3)
test
Submitted by
test
-
a year ago
2022-04-16 17:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MLA journal article Works Cited bibliography entry
PCRE2 (PHP >=7.3)
MLA journal article Works Cited bibliography entry
Submitted by
Ken M. Penner
-
a year ago
2022-04-17 00:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email simple validation (x@x.x)
PCRE2 (PHP >=7.3)
Simple email validator (x@x.x) Note: Use /g to test all example emails.
Submitted by
davidgaroro
-
a year ago
2022-04-18 00:27
(Last modified a year ago)
2022-11-04 18:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove enclosing quotes
PCRE2 (PHP >=7.3)
Removes a pair of quotes enclosing a string and leaves just the string
Submitted by
anonymous
-
a year ago
2022-04-18 20:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex_commercial_activities
PCRE2 (PHP >=7.3)
guifro
Submitted by
guifro
-
a year ago
2022-04-19 15:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
first word regex
PCRE2 (PHP >=7.3)
this can be used to show first word
Submitted by
anonymous
-
a year ago
2022-04-19 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Public Phone
PCRE2 (PHP >=7.3)
Public phone regex
Submitted by
AlexVerkhov
-
a year ago
2022-04-20 13:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match a CiviCRM Case Hash
PCRE2 (PHP >=7.3)
CiviCRM prepends a hash to email subjects. This regex will capture the case hash and formatting and possibly useful for removing this text.
Submitted by
dtwx
-
a year ago
2022-04-20 13:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Readable fail2ban logs in AWS Cloudwatch
PCRE2 (PHP >=7.3)
Captures date, time, jail, action and ip address so they can be better formatted.
Submitted by
dtwx
-
a year ago
2022-04-20 13:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test Function Block
PCRE2 (PHP >=7.3)
Test
Submitted by
anonymous
-
a year ago
2022-04-21 00:23
1
...
522
523
524
525
526
527
528
...
577
Q_Property
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?'type'
.
*
?
)
(?'name'
.
*
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
8 years ago
2015-07-01 08:56