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
/
(?<=wattscharge":\s.)\d+.\d+
/
g
Input 1
{ "full": 1, "version": "*1.5.622*", "model": "Sercomm NA900", "zwave_heal": 1, "temperature": "C", "serial_number": "30112898\n", "fwd1": "fwd2.mios.com", "fwd2": "fwd1.mios.com", "sections": [ { "name": "My Home", "id": 1 } ], "rooms": [ { "name": "Sonnenbatterie", "id": 1, "section": 1 } ], "scenes": [ ], "devices": [ { "name": "BHKW 1", "altid": "CHP-1", "id": 6, "category": 0, "subcategory": 0, "room": 1, "parent": 3, "watts": "0", "chppeakpower": "0" }, { "name": "Eigenverbrauchsrelais 1", "altid": "OwnConsumptionRelay-1", "id": 8, "category": 0, "subcategory": 0, "room": 1, "parent": 3, "automode": "1", "duration": "3", "threshold": "3000", "status": "0" }, { "name": "Gesamtverbauch 1", "altid": "TotalConsumption-1", "id": 7, "category": 0, "subcategory": 0, "room": 1, "parent": 3, "iscountercumulated": "0", "maxwattsl2": "175", "maxwattsl3": "380", "maxwattsl1": "203", "watts": "669.7", "wattsl1": "176.6", "wattsl2": "150.6", "wattsl3": "342.5" }, { "name": "Photovoltaik 1", "a
Extraction
{ "full": 1, "version": "*1.5.622*", "model": "Sercomm NA900", "zwave_heal": 1, "temperature": "C", "serial_number": "30112898\n", "fwd1": "fwd2.mios.com", "fwd2": "fwd1.mios.com", "sections": [ { "name": "My Home", "id": 1 } ], "rooms": [ { "name": "Sonnenbatterie", "id": 1, "section": 1 } ], "scenes": [ ], "devices": [ { "name": "BHKW 1", "altid": "CHP-1", "id": 6, "category": 0, "subcategory": 0, "room": 1, "parent": 3, "watts": "0", "chppeakpower": "0" }, { "name": "Eigenverbrauchsrelais 1", "altid": "OwnConsumptionRelay-1", "id": 8, "category": 0, "subcategory": 0, "room": 1, "parent": 3, "automode": "1", "duration": "3", "threshold": "3000", "status": "0" }, { "name": "Gesamtverbauch 1", "altid": "TotalConsumption-1", "id": 7, "category": 0, "subcategory": 0, "room": 1, "parent": 3, "iscountercumulated": "0", "maxwattsl2": "175", "maxwattsl3": "380", "maxwattsl1": "203", "watts": "669.7", "wattsl1": "176.6", "wattsl2": "150.6", "wattsl3": "342.5" }, { "name": "Photovoltaik 1", "a