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,560 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Klik import search
PCRE2 (PHP >=7.3)
Regex to search for Klik imports
Submitted by
anonymous
-
a year ago
2022-04-04 11:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match color string
PCRE2 (PHP >=7.3)
Match color string
Submitted by
EZ
-
a year ago
2022-04-04 14:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
web validation
PCRE2 (PHP >=7.3)
web validation
Submitted by
anonymous
-
a year ago
2022-04-05 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
web validation
PCRE2 (PHP >=7.3)
web validation
Submitted by
anonymous
-
a year ago
2022-04-05 10:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract xml fragments from text
PCRE2 (PHP >=7.3)
maybe useful if you want to enrich e.g. markup with xml fragments and analyse them (e.g. joplinApp with RestApi)
Submitted by
cookyr
-
a year ago
2022-04-05 15:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
css var regex
PCRE2 (PHP >=7.3)
css var regex
Submitted by
anonymous
-
a year ago
2022-04-05 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
codigo da glosa quebrada, descricao quebrada e sem gp
PCRE2 (PHP >=7.3)
codigo da glosa quebrada, descricao quebrada e sem gp até o limite inferior
Submitted by
anonymous
-
a year ago
2022-04-05 18:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parse WKT POINT
PCRE2 (PHP >=7.3)
Parse a WKT POINT string into longitude and latitude values
Submitted by
anonymous
-
a year ago
2022-04-06 08:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
numbered_paths
PCRE2 (PHP >=7.3)
Regex to captures paths starting with numbers
Submitted by
anonymous
-
a year ago
2022-04-06 11:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Public
PCRE (PHP <7.3)
Public view for my collection
Submitted by
anonymous
-
a year ago
2022-04-08 16:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Detect space kernel between characters
PCRE (PHP <7.3)
Detect space kernel between characters
Submitted by
anonymous
-
a year ago
2022-04-09 06:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Delete spaces between words only
PCRE (PHP <7.3)
Delete spaces between words only
Submitted by
anonymous
-
a year ago
2022-04-09 06:40
(Last modified a year ago)
2022-04-09 08:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-04-09 06:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C++ Expression Match
PCRE2 (PHP >=7.3)
Matches most expressions, doesn't match keywords like new or throw or lambdas.
Submitted by
anonymous
-
a year ago
2022-04-12 13:32
(Last modified a year ago)
2022-04-12 14:34
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
1
...
519
520
521
522
523
524
525
...
578
UK Postcodes
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
GIR
?
0AA
|
[
A
-
PR
-
UWYZa
-
pr
-
uwyz
]
(
[
0
-
9
]
{1,2}
|
(
[
A
-
HK
-
Ya
-
hk
-
y
]
[
0
-
9
]
(
[
0
-
9ABEHMNPRV
-
Yabehmnorv
-
y
]
)?
)
|
[
0
-
9
]
[
A
-
HJKPS
-
UWa
-
hjkps
-
uw
]
)
?
[
0
-
9
]
[
ABD
-
HJLNP
-
UW
-
Zabd
-
hjlnp
-
uw
-
z
]
{2}
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Riaan Joubert
-
5 years ago
2018-08-13 14:02