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
/
[,\s]*(?<key>\b[^:,]+?): (?<value>.*?(?=$|,\s+\b[^:,]+: ))
/
g
Input 1
1
New
a long key: with some long value, KeyA: ValueA, KeyB: ValueB, KeyC: ValueC, ValueD, ValueE, some text and https://www.example.orf, KeyF: 84,3 kg, KeyG: 34,3 x 234,3 x 54 cm
Extraction
a long key: with some long value, KeyA: ValueA, KeyB: ValueB, KeyC: ValueC, ValueD, ValueE, some text and https://www.example.orf, KeyF: 84,3 kg, KeyG: 34,3 x 234,3 x 54 cm