The text I would like to parse always comes in the following pattern:
"Your $22.12 transaction with Amazon.com"
I would like to parse all text after "transaction with " which would be the name of company/store.
Can anybody help with this? Thank you so much!
This question does not have a relevant enough answer here : Javascript Regexp - Match Characters after a certain phrase That question is about matching characters after a fixed, exact, constant phrase. The phrase in this question contains a substring (the $ amount) that varies. An answer should explain, in addition to how to get characters after text, how to match a dollar money amount with RegEx.