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
Community Patterns
Search among 9,440 community submitted regex patterns...
0
Array matcher from string
PCRE (PHP <7.3)
Array matcher from string
Submitted by
anonymous
-
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
小数,两位小数
PCRE (PHP <7.3)
^(0-9*)+(\.[0-9]{1,2})?$
Submitted by
zhanyue
-
2 years ago
0
Interview Test Valid Odds
Java 8
Interview Test Valid Odds
Submitted by
anonymous
-
2 years ago
0
Parse VB.Net
PCRE (PHP <7.3)
Goal is to map Visual Basic functions: their names, input parameters, dependencies, and outputs. Eventual goal is to map interactions between functions to identify circular logic.
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
http_url_regex
PCRE (PHP <7.3)
http_url_regex
Submitted by
anonymous
-
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
HAKKEr
PCRE (PHP <7.3)
dsasd
Submitted by
anonymous
-
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
aa
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
2 years ago
0
releaes-jdk
Java 8
parse jdk version source
Submitted by
youliang.feng
-
2 years ago
0
8 digits
PCRE (PHP <7.3)
Finds 8 digits in text preceded by a period
Submitted by
anonymous
-
2 years ago
0
AWS Load Balancer Controller Access log
PCRE (PHP <7.3)
AWS Access log parsing for K8s Load Balancer Controller.
Submitted by
Bit_029
-
2 years ago
0
Regex para extraer nombres de subreddits
Java 8
Ver
Submitted by
@atnbueno
-
2 years ago
(Last modified 2 years ago)
0
SemVer with Tags
PCRE (PHP <7.3)
SemVer with Tags
Submitted by
Umair Malik
-
2 years ago
0
Lua Comment RegEx
Java 8
matches lua comments
Submitted by
Fiereu
-
2 years ago
1
...
457
458
459
460
461
...
472
Find comments or commentblocks in Code V1.01
-1
Regular Expression
PCRE (PHP <7.3)
/
(
(?<raute>
#
(?<raute_content>
[^
\n
]
*
)
)
|
(?<doubleslashes>
\/\/
(?<doubleslashes_content>
[^
\n
]
*
)
)
|
(?<block>
\/\*
(?<block_content>
[^
*
]
+
|
\*
(?!
\/
)
)*
+
\*\/
)
)
/
gm
Open regex in editor
Description
Find Comments starting with # or //. Also finds Commentblocks starting with /* and ending with */.
Submitted by
Candyman1332
-
8 years ago