Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
pxc plcnext
plcnext version strings
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
exp1
asdf
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Find GraphQL queries with missing id
It detects the following ` product { brand` and ignores ` product {...
Submitted by
anonymous
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Search/Replace Pressure sensor calibration
Changing from MPa to Bar
Submitted by
anonymous
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Replace letters in email address
Replace letters in email address but left the first and last letter before and after @
Submitted by
Kaibo
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Remove all html from string
Remove all tags and special character such as
Submitted by
enrico mosca
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
domain
ss
Submitted by
sssssss
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
Semver split
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Closes properly self-closing tags in HTML
In an HTML will replace all auto-closed tags (/>) with a proper tag closing. It works even if the tag has a closing sign (>) inside an attribute.
Submitted by
nabab
-
3 months ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
pcre
PHP Serialization String Validator
PHP serialize / unserialize __sleep __wakeup __serialize __unserialize
Submitted by
Abdullah Pazarbasi
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Get anything between parentheses
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
3 months ago
-1
0 upvotes, 1 downvotes (0% like it) (You must be signed in to vote)
pcre
alluse
/^(?P0|[1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\da-zA-Z-)(?:\.(?:0|[1-9]\d|\da-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
alluse
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Function arguments regex
A simple regex to match individual arguments of a function.
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
semantic tags
semantic tags
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
Kt SDK V2
kt SDKV2
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
GO SDK V2
Go SDK v2
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
REACT SDK V3
React SDK V3
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Isolate some string (any caracthers) in between isolators, none or many
This expression isolates a string or many strings of any caracthers that are preceded and are followed by a pair of colons in a long text string. Practical for tooltip insertion. Find a word in the string, search in the database, construct the tooltip and insert within the returned string. Use wi...
Submitted by
Marc De Gagné
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
golang
Anime Xdcc Name + Episode Regex
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
Submitted by
anonymous
-
4 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Regex Colon Code For Emoji
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
4 months ago
1
2
3
4
5
...
473
NMEA after timestamps
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(
(
[
\!
|
\$
]
)
(
[
\w
]
{1,15}
)
)
(
(?:
,
)
(
[
\w
.
\-\+
]
{0,20}
)
){1,20}
(?:
,
){0,1}
(?:
\*
){0,1}
(
[
A
-
F0
-
9
]
{2}
){0,1}
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
David Harrison
- 4 months ago