@coder,
in this case no, because you won’t pass through text one row at the time, this will check string and return all values which match your regex combination.
This regex builder is excellent because you can paste text which is extracted from PDF and then play with regex combinations to get result which you need.
This is stupid example but you can test it out.