Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\b[A-Z]\w*(?:[^\S\n]+[A-Z]\w*)*(?:[^\S\n]+[a-z]\w*)*(?=:)
/
gm
Input 1
New
Title: Consectetur adipiscg elit Description: Sed sit > amet eros diam Details: Vestibulum a eros ut massa interdum > consectetur Article number: AYHMNR Title tEST: testing Big red car:1, Small green ship: 2, Green Forest:3
Extraction
Title: Consectetur adipiscg elit Description: Sed sit > amet eros diam Details: Vestibulum a eros ut massa interdum > consectetur Article number: AYHMNR Title tEST: testing Big red car:1, Small green ship: 2, Green Forest:3