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 12,920 community submitted regex patterns...
-3
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
(krishna)
ECMAScript (JavaScript)
() invalid, (k) valid, (kr123) valid. only () is invalid
Submitted by
krishna
-
10 years ago
1
extract JavaScript function name (corrected for specials)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
extract JavaScript function name
ECMAScript (JavaScript)
Extracts the name of the outer function. Useful to get the name of a function reference using fn.toString().
Submitted by
Jack A.
-
10 years ago
1
Usability request
PCRE (PHP <7.3)
implement vi keys PLEASE
Submitted by
maurice.sprauge@gmail.com
-
10 years ago
1
ytr
ECMAScript (JavaScript)
ytr
Submitted by
ytr
-
10 years ago
1
stripping annotations from pre-NewsML transcripts
PCRE (PHP <7.3)
no description available
Submitted by
Brian D'Astous
-
10 years ago
0
Replace one or more 'br' tags with a single space.
PCRE (PHP <7.3)
no description available
Submitted by
James Furey
-
10 years ago
0
URL matching
PCRE (PHP <7.3)
Complete url matching with storage of various parameters
Submitted by
hjpotter92
-
10 years ago
0
Removes comments from css files
PCRE (PHP <7.3)
This regexp removes comments from css (text/css) files (multiline)
Submitted by
Ray (alrays@yandex.ru)
-
10 years ago
1
youtube links in wp/embed context
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
google result li item
PCRE (PHP <7.3)
Trying to output http://www.fs.usda.gov/malheur or thereabouts
Submitted by
ape
-
10 years ago
4
Element's Attribute Value in XML (simple)
PCRE (PHP <7.3)
Simple regular expression for extracting attribute value of the element in XML-string. Attribute value should be in quotes.
Submitted by
Nikita Danilov
-
10 years ago
1
đâs
PCRE (PHP <7.3)
ddấdadasdasd
Submitted by
anonymous
-
10 years ago
2
Minecraft Entity Target Splitter
PCRE (PHP <7.3)
Regex to match part of minecraft command entity targets
Submitted by
aziis98
-
10 years ago
1
from Google-Maps
ECMAScript (JavaScript)
results all street-adresses from http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Submitted by
PierreSash
-
10 years ago
1
SO: http://stackoverflow.com/questions/24371462/writing-regex-according-to-char/24371542#24371542
PCRE (PHP <7.3)
no description available
Submitted by
Eder Quiñones
-
10 years ago
2
filter tags and select text in between.
PCRE (PHP <7.3)
You can use it as a language selector.
Submitted by
koko
-
10 years ago
2
HTTP url parser
PCRE (PHP <7.3)
Parses a URL to the different parts
Submitted by
AmitK
-
10 years ago
1
...
630
631
632
633
634
...
646
Author first names to initials
0
Regular Expression
ECMAScript (JavaScript)
/
(?<=
,
\s
*
)
(?:
(
[
A
-
Z
]
)
\.
?
[
a
-
üA
-
Z{
\\
'}
]
*
(?:
(
-
)
|
)?
)
(?:
(
[
A
-
Z
]
)
(
\.
?
)
[
a
-
üa
-
zA
-
Z{
\\
'}
]
*
(?:
(
-
)
|
)?
)?
(?:
(
[
A
-
Z
]
)
(
\.
)?
[
a
-
zA
-
Z{
\\
'}
]
*
(?:
(
-
)
|
)?
)?
(?=
and
|
$
)
/
gm
Open regex in editor
Description
Convert citation authors list from "Last_name, First_name" to "Last_name, F."
Submitted by
Pierre Racine
-
2 years ago