I'm worning on the REGEX pattern to capture the last amount in the row. String looks like:
Ben
1x 1.32 1.32 OK
Mark
3x 0.50 1.50 FAIL
Johny
2x 1.20 2.40 OK
I can't write pattern to capture the last amount. The problem is "OK" and "FAIL" strings after the last amount. I don't know how to handle them by REGEX.
The three dots are just temporary solution to show you how it should works - it should also capture 1.50 amount too.
Please take a look: https://regex101.com/r/vY6hI2/1