Okay makes sense. My final question is on extracting a number. If the keywords are for example amount due, amount, balance due and balance and I want to extract the number after those keywords how would I do so? Examples would be like
Total amount due [random number of spaces] $25.29
Total balance due [random number of spaces] $58.12
(?<=(Total amount due|Total balance due|Amount due|Pay this amount).*)\r?\n?\r?\n?([\$\d.,]+)$
Note: Above one works in Regular Regex Matches I can take Group2 output and prints it. But I am not sure, how we can make it work in Regex based extractor, I hope it should work. you can play around by removing each texts and you can see the amount captured in the group2.