This is my string:
one time password for your transaction at, 'xxxx' of inr '1897.00' on your xxxx bank 'debit/credit/deposit/....' card ending '0000' is 0000"
xxxx
- string, 0000
- numbers
I want to fetch all values in single quotes(')
this is what I have tried:
[a-z ]+, ([a-z]+)[a-z ]+([0-9\.]+)
till here it is correct
now i want to fetch (debit/credit/...), I am doing:
on your
[a-z]+
bank[a-z]+[a-z ]+([0-9]+)[a-z ]+[0-9]
What should be the better way?