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 240 community submitted regex patterns...
1
Matching decimals in european format (dot as grouping separator, comma as decimal separator)
Java 8
A regex for validating decimal numbers in the European number format (in many parts of Europe at least, including Germany). A comma is used as a separator for the decimal number, a dot as a separator for thousand places.
Submitted by
Florian Drees
-
3 years ago
(Last modified 3 years ago)
-1
Grep from A to B
Rust
no description available
Submitted by
anonymous
-
3 years ago
(Last modified 10 months ago)
2
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified 10 months ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified 10 months ago)
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 10 months ago)
1
...
10
11
12
white space before punctuations, outside script and code tags
3
Regular Expression
PCRE (PHP <7.3)
/
(?!
<
(
script
|
code
)
[^
>
]
*
?
>
)
(
(
\s
)
(
\?
|
\!
|
\;
|
\:
)
)
(?!
[^
<
]
*
?
<
\/
(
script
|
code
)
>
)
/
gi
Open regex in editor
Description
white space before punctuations, outside script and code tags
Submitted by
ced
-
9 years ago