I have a file with multiple lines as shown in the example below, but I need the chars mentioned in the pattern to be present in the output, in other words non-greedy match.
I need a way to remove the first part of the line and get the line which contains with starting with '07' or '08' and everything in the line till end of line.
Example:
- Input: 'SELECT TZ_OFFSET (SESSIONTIMEZONE) FROM DUAL07.16.0162 (B0375, U0847)'
- output: 07.16.0162 (B0375, U0207)
- Input: 'SELECT TZ_OFFSET (SESSIONTIMEZONE) FROM DUAL08.15.0162 (B03075, U07)'
- output: 08.15.0162 (B08075, U07)