I have a long string, that contains
Current: 98%
exactly one time. The percentage can be everything between 0 and 100.
E.g.:
This is a multi-line
output and the battery level is
Current: 100%
Thank you.
How can I just get the value between Current:
and %
?