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
/
\d+(?:\.\d+)?\s*(?:[GM]B|bytes?)
/
gm
Input 1
2015-03-27 09:54 *** Backup done. Errors: 0. Processed files: 8748. Backed up files: 8748. Total size: 5.80 GB *** 5.80 MB 612323 bytes 612323 byte
Substitution
2015-03-27 09:54 *** Backup done. Errors: 0. Processed files: 8748. Backed up files: 8748. Total size: 5.80 GB *** 5.80 MB 612323 bytes 612323 byte