I am having below string,
"Revenue Account Sequence : 96467, INCAS Amount Code : AGS"
I want to retrieve 96467 and AGS based on below logic.
- Logic for retrieving 96467 -> Text between "Sequence : " and “,” .
- Logic for retrieving AGS -> Text between "Code : " and " ".
I am having hard time finding a solution for it. It would be great if someone can help me with it.