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 12,000 community submitted regex patterns...
0
Another WordPress Classified Plugin Date Conversion
PCRE2 (PHP >=7.3)
Convert your date from yyyy-mm-dd to mm/dd/yyyy and your time from hour:minute:second to hour:minute. You can manipulate the data further with your own function.
Submitted by
anonymous
-
3 years ago
0
comic script seperate PANEL, DIALOG, action div class
PCRE2 (PHP >=7.3)
orignal question and image: https://www.reddit.com/r/regex/comments/q8igd4/how_can_i_group_the_second_green_group_end_of/hgpydig/?context=3
Submitted by
anonymous
-
3 years ago
0
Вся строка начиная со слова
PCRE2 (PHP >=7.3)
а
Submitted by
anonymous
-
3 years ago
0
remove ending a's
PCRE2 (PHP >=7.3)
here we have removed the a's at the end of each line
Submitted by
anonymous
-
3 years ago
0
Ignore SITE.tumblr.com EXCEPT static, cdn, and a custom one
PCRE2 (PHP >=7.3)
Customise it to fit your needs
Submitted by
TheTechRobo
-
3 years ago
0
Changelog commit template
Golang
Changelog commit template
Submitted by
anonymous
-
3 years ago
0
hexadecimal
PCRE2 (PHP >=7.3)
Hexadecimal regex
Submitted by
anonymous
-
3 years ago
0
Octal regex
PCRE2 (PHP >=7.3)
Octal regex
Submitted by
anonymous
-
3 years ago
0
Keep only domain and protocol it present.
PCRE2 (PHP >=7.3)
Keep only domain and protocol it present.
Submitted by
EcoTechie
-
3 years ago
0
Unordered list between text in markdown
PCRE2 (PHP >=7.3)
This regex matches with an unordered list between different kinds of text displayed in markdown
Submitted by
anonymous
-
3 years ago
0
Glue
PCRE2 (PHP >=7.3)
Join separate words together! Joinseparatewordstogether!
Submitted by
Mendel Groner
-
3 years ago
0
Encontrar los caracteres que habría que eliminar para convertir una cadena en un número decimal completo o por completar.
PCRE (PHP <7.3)
Encontrar cada carácter que cumplan alguna de las siguientes condiciones: No es un dígito ni un punto ni un signo menos. Un signo menos que no es el primer carácter de la cadena. Un punto después del cual se puede encontrar otro punto.
Submitted by
Jorge Gómez Prada
-
3 years ago
0
thx hjpotter
PCRE2 (PHP >=7.3)
Thanks
Submitted by
hjpotter92
-
3 years ago
0
Coordinates Validation
PCRE2 (PHP >=7.3)
This is for validating coordinates
Submitted by
anonymous
-
3 years ago
0
Match word or phrase not preceded by another word or phrase
PCRE2 (PHP >=7.3)
Modified from this StackOverflow answer, this Regex matches a word or phrase which is not preceded by another word or phrase
Submitted by
anonymous
-
3 years ago
0
Friendzymes: dna-annotate github action example
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
-
3 years ago
0
Our Box # Format Reader/Checker
PCRE2 (PHP >=7.3)
This is used to check and grab parts from our box # format at our production facility.
Submitted by
edp9884
-
3 years ago
0
Port range validation
PCRE2 (PHP >=7.3)
Regex to match tcp/udp port and range. Comma can be used as delimiter
Submitted by
anonymous
-
3 years ago
0
Adds JsonPropertyName attribute to class members in a C# class
PCRE2 (PHP >=7.3)
Useful for adding JsonPropertyName to a bunch of class members. Given: ` public string MemberId { get; set; } `...
Submitted by
PatrickV
-
3 years ago
0
alphabet and number allowed
PCRE2 (PHP >=7.3)
/^(?=.?[a-zA-Z])(?=.?[0-9])/gm
Submitted by
anonymous
-
3 years ago
1
...
521
522
523
524
525
...
600
Regex to add <p> in the beginning
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
<footer><!
\[
CDATA
\[
)
\s
?
(
<p>
)?
(
.
*
)
(
<p>
)
/
gmU
Open regex in editor
Description
In case #3: A <p> should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
3 years ago