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,480 community submitted regex patterns...
5
5 upvotes, 0 downvotes (score 56.6%) (You must be signed in to vote)
look for any $_POST['name']
PCRE (PHP <7.3)
if you are as lazy as me and want to replace every "=$_POST['name'];" using Dreamweaver or any development tool that allows using regular expressions to search in current file/document.
Submitted by
Kevinator
-
8 years ago
2016-01-14 23:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Extract string from translate function
PCRE (PHP <7.3)
Extract first string parameter from zend view translate helper method
Submitted by
anonymous
-
8 years ago
2016-01-14 18:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
File Name Finder
PCRE (PHP <7.3)
no description available
Submitted by
Tyler Mills
-
8 years ago
2016-01-14 18:03
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Names
PCRE (PHP <7.3)
Just checks for two capitalized words separated by a string
Submitted by
anonymous
-
8 years ago
2016-01-14 16:29
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Simple json key-value parser
PCRE (PHP <7.3)
[{"name":"Піксель ТВ","url":"http://st.it-tv.org:4575/?224.1.16.33","type":81,"tsOn":false}]
Submitted by
ReMMeR
-
8 years ago
2016-01-14 12:58
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
simple json key -value
PCRE (PHP <7.3)
simple json key -value parser
Submitted by
ReMMeR
-
8 years ago
2016-01-14 12:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-14 12:53
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Phone search in HTML
PCRE (PHP <7.3)
Searching for phone in HTML where content in 1-st tag descibes phone type in some next tag
Submitted by
Akella
-
8 years ago
2016-01-14 12:47
4
9 upvotes, 5 downvotes (score 38.8%) (You must be signed in to vote)
Mask credit card
PCRE (PHP <7.3)
no description available
Submitted by
Albert Paris
-
8 years ago
2016-01-14 11:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get short title of people from woflframalpha
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 16:16
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
BRAZILIAN VEHICLE PLATE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 15:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Mysql Transaction info
PCRE (PHP <7.3)
no description available
Submitted by
Nikola Kostadinov
-
8 years ago
2016-01-13 13:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
FB Content Embed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 12:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match Smalltalk method definition
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-01-13 10:25
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Case-sensitive keyword matching.
PCRE (PHP <7.3)
Case-sensitive matching of a keyword, where the keyword is not a substring of other words.
Submitted by
Norskov
-
8 years ago
2016-01-13 10:17
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
deficient exhibited gmk
PCRE (PHP <7.3)
no description available
Submitted by
cu
-
8 years ago
2016-01-13 09:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
char and no without sympols
PCRE (PHP <7.3)
Accept char and integers and not accept for any kind of sympol or spacs
Submitted by
Taha Sayed (Egypt)
-
8 years ago
2016-01-13 09:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
PassWordValidation
PCRE (PHP <7.3)
To check a password between 5 to 10 characters which contain at least one lowercase letter, one uppercase letter, one numeric digit, and one special character.
Submitted by
RathnaKumar
-
8 years ago
2016-01-13 06:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ogn-receiver-beacon
PCRE (PHP <7.3)
Parse ogn-flavored aprs messages, here especially receiver beacons. source: https://github.com/svoop/ogn_client-ruby
Submitted by
anonymous
-
8 years ago
2016-01-13 01:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
fortigate_60B
PCRE (PHP <7.3)
parse the log line generated by fortigate 60B
Submitted by
ViKing
-
8 years ago
2016-01-13 00:20
1
...
455
456
457
458
459
460
461
...
574
remove ordinals
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
1
)
st
?
|
(
2
)
nd
?
|
(
3
)
rd
?
|
(
[
4
-
9
]
)
th
?
)
|
(
(
[
0
-
9
]
*
)
(
1
[
0
-
9
]
)
th
?
)
|
(
(
[
0
-
9
]
*
[
02
-
9
]
)
(
(
1
)
st
?
|
(
2
)
nd
?
|
(
3
)
rd
?
|
(
[
04
-
9
]
)
th
?
)
)
)
$
/
igm
Open regex in editor
Description
Loading markdown...
Submitted by
missinglink
-
8 years ago
2016-01-12 17:37