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
/
{(\n*.*\n*)}
/
gm
Input 1
New
2019-03-06 16:17:27 INF Creating container.\r\n2019-03-06 16:17:27 INF Container name : [lalaland]\r\n2019-03-06 16:17:28 INF Get or Create operation executed successfully.\r\n{\r\n \"data\": {\r\n \"command\": \"/usr/sbin/boot.sh\",\r\n \"created\": 1551838866,\r\n \"hostConfig\": {\r\n \"autoRemove\": false,\r\n \"binds\": null,\r\n \"blkioDeviceReadBps\": null,\r\n \"blkioDeviceReadIOps\": null,\r\n \"blkioDeviceWriteBps\": null,\r\n \"blkioDeviceWriteIOps\": null,\r\n \"blkioWeight\": 0,\r\n \"blkioWeightDevice\": null,\r\n \"capAdd\": null,\r\n \"capDrop\": null,\r\n \"cgroup\": null,\r\n \"cgroupParent\": null,\r\n \"consoleSize\": null,\r\n \"containerIDFile\": null,\r\n \"cpuCount\": 0,\r\n \"cpuPercent\": 0,\r\n \"cpuPeriod\": 0,\r\n \"cpuQuota\": 0,\r\n \"cpuRealtimePeriod\": 0,\r\n \"cpuRealtimeRuntime\": 0,\r\n \"cpuShares\": 0,\r\n \"cpusetCpus\": null,\r
Substitution
2019-03-06 16:17:27 INF Creating container.\r\n2019-03-06 16:17:27 INF Container name : [lalaland]\r\n2019-03-06 16:17:28 INF Get or Create operation executed successfully.\r\n{\r\n \"data\": {\r\n \"command\": \"/usr/sbin/boot.sh\",\r\n \"created\": 1551838866,\r\n \"hostConfig\": {\r\n \"autoRemove\": false,\r\n \"binds\": null,\r\n \"blkioDeviceReadBps\": null,\r\n \"blkioDeviceReadIOps\": null,\r\n \"blkioDeviceWriteBps\": null,\r\n \"blkioDeviceWriteIOps\": null,\r\n \"blkioWeight\": 0,\r\n \"blkioWeightDevice\": null,\r\n \"capAdd\": null,\r\n \"capDrop\": null,\r\n \"cgroup\": null,\r\n \"cgroupParent\": null,\r\n \"consoleSize\": null,\r\n \"containerIDFile\": null,\r\n \"cpuCount\": 0,\r\n \"cpuPercent\": 0,\r\n \"cpuPeriod\": 0,\r\n \"cpuQuota\": 0,\r\n \"cpuRealtimePeriod\": 0,\r\n \"cpuRealtimeRuntime\": 0,\r\n \"cpuShares\": 0,\r\n \"cpusetCpus\": null,\r