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
@"
(?m)(?<=^ *) {4}
"
gi
Input 1
1
{ "Foo": "bar", "Kestrel": { "Endpoints": { "Http": { "Url": "http://*:2201" }, "HttpsInlineCertStore": { "Url": "https://*:2203", "SslProtocols": [ "Tls12", "Tls13" ], "Certificate": { "Subject": "SubjectName", "Store": "My", "Location": "CurrentUser", "AllowInvalid": "True" } } } } }
Extraction
{ "Foo": "bar", "Kestrel": { "Endpoints": { "Http": { "Url": "http://*:2201" }, "HttpsInlineCertStore": { "Url": "https://*:2203", "SslProtocols": [ "Tls12", "Tls13" ], "Certificate": { "Subject": "SubjectName", "Store": "My", "Location": "CurrentUser", "AllowInvalid": "True" } } } } }