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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 community submitted regex patterns...
0
Car Seat (Nuna) CLP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Filename from Ossec lgs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Commit msg
Golang
no description available
Submitted by
anonymous
-
4 years ago
0
Encontrar tags HTML que estejam vazias
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Movements
Python
no description available
Submitted by
anonymous
-
5 years ago
0
partial gtaccesss
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Telephone Thai Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Thai District
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Thai Province
Python
no description available
Submitted by
anonymous
-
4 years ago
0
Thai Zipcode
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
phone numbers to links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
replace more empty <p> by one
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Split args
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
index-delete
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Retailer Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
block-redirect-https://www.arubanetworks.com
Python
^block-redirect-https?://www\.\w+\.\w+$
Submitted by
anonymous
-
5 years ago
0
ntp standalone vlan-range 1
Python
^ntp standalone vlan-range\s\d
Submitted by
anonymous
-
5 years ago
0
tilak hex uploader
PCRE (PHP <7.3)
tilak hex uploader
Submitted by
anonymous
-
5 years ago
0
LogRhythm - Parser - Forcepoint Email Gateway
PCRE (PHP <7.3)
This parser has been built based on a request I've seen in the LogRhythm Community (https://community.logrhythm.com/t5/MPE-Rules/Forcepoint-Websense-Parsing/m-p/395753#M1713). As we know. we are have no options to change the tags names based on the right names that we have in the logging format. So...
Submitted by
anonymous
-
5 years ago
0
Drupal get node from anchor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
345
346
347
348
349
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\b
(?'first_word'
[
a
-
z
]
(?!
(
[
[:alnum:]
]
*
_
)
(?#
the
word
doesn't
contain
underscores)
)
(?:
[
a
-
z0
-
9
]
*
)
)
)
|
(
\G
(?'trailing_word'
[
A
-
Z
]
[
a
-
z0
-
9
]
*
)
)
/
gm
Open regex in editor
Description
Works with many forms of alphanumeric camelCase
camelCase
camel
camelCaseCaseCase... (with as many words as you want)
ca65melCase (ca65mel_case)
camelCCase (camel_c_case)
What isn't matched
PascalCase
words with '_' underscores in them (camel_Snake_Case)
Remarks
all 'lowercase' words are matched... but they're not changed by the regex !
Submitted by
inesvar
-
10 months ago