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 2,320 community submitted regex patterns...
0
sources.list line match
Python
Match a single line inside of an apt sources.list file and return content in named groups. This regex should take into account many possible variations of a sources.list entry, but by far not all of them. What it does: recognize most of the protocols supported by apt...
Submitted by
NK308
-
2 years ago
0
Wordpress Shortcode Python
Python
Made up from wordpress shortcake php
Submitted by
Nick Moreton
-
2 years ago
0
Excelente Calidad
Python
exc calidad
Submitted by
anonymous
-
2 years ago
0
Simple regex to parse OVAL expressions
Java 8
This regexp helps you to parse text-based OVAL expressions. See the test samples
Submitted by
Alexander Dubok
-
2 years ago
0
Selecciona y parsea
Java 8
Dado un archivo de texto selecciona subgrupos
Submitted by
Alexis
-
2 years ago
0
Selecciona subgrupos de un .txt separados por tabulación
Java 8
Dado un archivo .txt, con su contenido separado por tab selecciona cada campo
Submitted by
Alexis Leza
-
2 years ago
0
Selecciona todos los campos separados por |
Java 8
Selecciona todos los campos de un .txt separados por |
Submitted by
Alexis Leza
-
2 years ago
0
Ejemplo de busqueda de cadena de caracteres en .txt
Java 8
Se busca una cadena de caracteres precedida por algo y con una terminación especifica
Submitted by
Alexis Leza
-
2 years ago
0
Interview Test Valid Odds
Java 8
Interview Test Valid Odds
Submitted by
anonymous
-
2 years ago
0
Hex Color Code
Python
A solution of this test from HackerRank https://www.hackerrank.com/challenges/hex-color-code/problem
Submitted by
anonymous
-
2 years ago
0
ip_adress_ping_regex
Python
link to ip_regex
Submitted by
anonymous
-
2 years ago
0
First Name (+ Middle Name) and Last Name Shredder
Java 8
Allows you to shredder first name (+ middle name) and last name.
Submitted by
Yusuf Yaşar
-
2 years ago
0
Extract (4.) Switch port state test values by columns
Java 8
adminl2j@child-ex2300-24t> show interfaces ge-0/0/0 terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up eth-switch
Submitted by
Dobri
-
2 years ago
0
匹配颜色绿色 黄棕色
Python
是(.*色) 用分组
Submitted by
robin
-
2 years ago
0
Multi Line Copy Right Header
Java 8
Matches a copyright header in a Java-esque multi line comment
Submitted by
PhiSe
-
2 years ago
0
regex_email
Python
메타문자 + 활용을 위한 예제
Submitted by
anonymous
-
2 years ago
0
Convert location from geoJson to Simple Location Format
Python
Allow to convert geolocation POS (related to a shape like a polygon) from geoJson to Simple Location Format
Submitted by
François Devaux
-
2 years ago
0
releaes-jdk
Java 8
parse jdk version source
Submitted by
youliang.feng
-
2 years ago
0
url pain
Python
pain
Submitted by
anonymous
-
2 years ago
0
Regex para extraer nombres de subreddits
Java 8
Ver
Submitted by
@atnbueno
-
2 years ago
(Last modified 2 years ago)
1
...
92
93
94
95
96
...
116
Match 'words' with internal punctuation retained
2
Regular Expression
Python
r"
[
\w
'
-
.
]
+
\w
|
[
\w
'-
]
+
\s
*
"
Open regex in editor
Description
Matches words without external punctuation but with internal punctuation.
Submitted by
anonymous
-
9 years ago