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
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
SemVer chain parsing
no description available
Submitted by
anonymous
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
POST OFFICE BOX
no description available
Submitted by
jmweekes
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Camel case to space-separated string
Takes any camel case and returns it plus spaces.
Submitted by
Rougeware
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
BOOLEAN EXPRESSION WITH BRACKETS MATCHER
comapre simbols used just !=, ==, =, beacose of task keyword "not" can be used only before leftside value beacose of task
Submitted by
Ilya Filisteev
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
ln -l linux parse
parse linux ln -l output command
Submitted by
guignol95
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
yyyy-MM-dd hh:MM
date format for "yyyy-MM-dd hh:MM" valid strict model.
Submitted by
image72
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
MySQL Full-Text BOOLEAN mode
Checks if an input string is compatible with the BOOLEAN mode of MySQL full text search system
Submitted by
greezybacon
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get bad iframe (with white-list)
In (?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/) u can add good sites for iframes: www.youtube.com/ player.vimeo.com/
Submitted by
Resager
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Select all number greater than 36
no description available
Submitted by
Mansoor
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Extract All Steam Keys
Extract all Steam Keys from a Given String
Submitted by
Ashesh Kumar
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
coffeescript operator
no description available
Submitted by
anonymous
-
8 years ago
3
8 upvotes, 5 downvotes (62% like it) (You must be signed in to vote)
javascript
time format HH:mm
validates strings in time format HH:mm with hour in 24h format. only accepts up to 23:59
Submitted by
Kelps Leite de Sousa
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Extract Java Exception Message Field
Exception Message: java.lang.NullPointerException: Sample Java Logback Exception at Sample.errorLevel3(Sample.java:35) at Sample.errorLevel2(Sample.java:31) at Sample.errorLevel1(Sample.java:27)...
Submitted by
Amit
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Match text in square brackets
Drupal7 Media Element in node body - A regex to match the media module square bracketted token/element for embedde images in node body. Use case - using the body text trimmed in a meta description - need to remove the media element as well as strip tags.
Submitted by
iAugur
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Get Headings From Markdown Format
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get Hyperlinks From Markdown Format
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Récupérer la bonne information
Groupe d'information $1 $2 $3 $1 = Prénom + Nom $2 = (Information à récupérer ou à supprimer) $3 = Numéro de téléphone
Submitted by
Terence DEMOL
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Removes duplicate lines in text editor
"dot matches newline" must be activated. Search and replace by "" (empty string) removes duplicate lines anywhere in text. Example for Notepad++ use shown under http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad
Submitted by
Stackoverflow user stema
-
7 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
javascript
Firt letter of names capitalize with exceptions
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Remove br tags inside anchor tags
no description available
Submitted by
anonymous
-
7 years ago
1
...
836
837
838
839
840
841
842
...
853
<script>alert(1)</script>
Vote
-10
3 upvotes, 13 downvotes (19% like it) (You must be signed in to vote)
Regular Expression
javascript
/
a
/
Open regex in editor
Description
Loading markdown...
Submitted by
<script>alert(1)</script>
- 9 years ago