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 3,400 community submitted regex patterns...
1
Console.log line deletion, multi line.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
masked phone input validator
ECMAScript (JavaScript)
masked phone input validator
Submitted by
fermanakgun
-
9 years ago
1
Absolute Date format
ECMAScript (JavaScript)
no description available
Submitted by
Jesse Benton
-
9 years ago
1
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Pattern
ECMAScript (JavaScript)
This regular expression is designed to work with character-delimited strings, and provides a means to specify the index of delimiter occurrence at which content is extracted.
Submitted by
Connor Goddard
-
9 years ago
1
regex to get N words from a line
ECMAScript (JavaScript)
usefull if you want to return (N) words instead of (N) chars
Submitted by
Pavel Dominguez
-
9 years ago
1
Floating Point
ECMAScript (JavaScript)
Tests a floating point number
Submitted by
Josh L. Rasmussen
-
9 years ago
1
pure url and uri
ECMAScript (JavaScript)
no description available
Submitted by
Thiago Souza
-
9 years ago
1
Email Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
text beetween <<>>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Cartão de cidadão / BI
ECMAScript (JavaScript)
no description available
Submitted by
David Serrano
-
9 years ago
1
10 digits
ECMAScript (JavaScript)
10 digits
Submitted by
anonymous
-
9 years ago
1
UID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Oracle Stored Procedure Name Validator
ECMAScript (JavaScript)
Validates valid Oracle Stored Procedure names
Submitted by
anonymous
-
9 years ago
1
^([a-zA-Z1-9]{1})([a-zA-Z0-9])+:$
ECMAScript (JavaScript)
hexa deciamal number with ending with ( :) a special character
Submitted by
anusha
-
9 years ago
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
9 years ago
1
ISO 8601 Duration Validator
ECMAScript (JavaScript)
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
9 years ago
1
number of spaces at beginning of lines
ECMAScript (JavaScript)
find the number of spaces at the beginning of lines in a file.
Submitted by
andy
-
9 years ago
1
Regex SCript replace
ECMAScript (JavaScript)
no description available
Submitted by
MGO
-
9 years ago
1
dd-mm-yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
anti-xss regex
ECMAScript (JavaScript)
this is a white list regex that invalidates input with "=
Submitted by
Ivan Cai
-
8 years ago
(Last modified 10 months ago)
1
...
151
152
153
154
155
...
170
Ejemplo de busqueda de cadena de caracteres en .txt
0
Regular Expression
Java 8
"
(?:
^
|
)
TC
(?:
$
|
12
)
"
gm
Open regex in editor
Description
Se busca una cadena de caracteres precedida por algo y con una terminación especifica
Submitted by
Alexis Leza
-
2 years ago