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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,920 community submitted regex patterns...
0
Delete spaces between words only
PCRE (PHP <7.3)
Delete spaces between words only
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Delete spaces at beginning or end of a string
PCRE (PHP <7.3)
Delete spaces at beginning or end of a string
Submitted by
anonymous
-
2 years ago
0
C++ Expression Match
PCRE2 (PHP >=7.3)
Matches most expressions, doesn't match keywords like new or throw or lambdas.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
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
-
2 years ago
0
my TODOs in IntelliJ
PCRE2 (PHP >=7.3)
looks for TODO followed by jundan. Ignoring capitalization.
Submitted by
Daniel Jr
-
2 years ago
0
Find Translation Tags in Wordpress
PCRE2 (PHP >=7.3)
Find tags matching: __('Some string to translate','some-domain')
Submitted by
anonymous
-
2 years ago
0
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
-
2 years ago
0
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
2 years ago
0
<style>标签的匹配
PCRE2 (PHP >=7.3)
标签的匹配
Submitted by
anonymous
-
2 years ago
0
<script>标签的匹配
PCRE2 (PHP >=7.3)
标签的匹配
Submitted by
anonymous
-
2 years ago
0
UPN Compiladores
PCRE2 (PHP >=7.3)
UPN Compiladores
Submitted by
anonymous
-
2 years ago
0
ipv4
PCRE2 (PHP >=7.3)
Find ipv4 addresses
Submitted by
anon
-
2 years ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
test
-
2 years ago
0
MLA journal article Works Cited bibliography entry
PCRE2 (PHP >=7.3)
MLA journal article Works Cited bibliography entry
Submitted by
Ken M. Penner
-
2 years ago
0
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
-
2 years ago
(Last modified 2 years ago)
0
Remove enclosing quotes
PCRE2 (PHP >=7.3)
Removes a pair of quotes enclosing a string and leaves just the string
Submitted by
anonymous
-
2 years ago
-1
Twitter Tweet URL
PCRE (PHP <7.3)
This ensures that a link to tweet strictly matches
Submitted by
anonymous
-
2 years ago
0
regex_commercial_activities
PCRE2 (PHP >=7.3)
guifro
Submitted by
guifro
-
2 years ago
0
first word regex
PCRE2 (PHP >=7.3)
this can be used to show first word
Submitted by
anonymous
-
2 years ago
0
OS正则表达式
Java 8
zzx
Submitted by
zzx
-
2 years ago
1
...
537
538
539
540
541
...
596
Pan Number
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
A
-
Z
]
{3}
[
P,C,H,A,B,G,J,L,F,T
]
[
A
-
Z
]
[
0
-
9
]
{4}
[
A
-
Z
]
$
/
Open regex in editor
Description
Pan Number
Submitted by
anonymous
-
2 years ago