Hi there, I am trying to extract the invoice number from a bank statement line using the regex tool but cannot figure it out. The invoice number generally starts with 9, and one statement line can have multiple invoice numbers.
Example 1
Input: 343319249320230203001340619062958368/PT/FT/PY/9062958368/OA/USD326306,10/BI/816467004/BN/ABC Ltd. /Country/OB/3582088658001/OB1/Bank Name (Bank Country)B3/FLOOR 32, STANDARD CHARTERED BANKBU/OB4/ILDING 4-4A DES VOEUX ROAD/BO...
Output: 9062958368
Example 2:
Input : 343319020720230203001352969860868418 9062990141 9062990142 9860868760 9070853746 9070853747 9070853748 9860868677 9860868678 9860868679 9860866363/PT/FT/PY/9860868418 9062990141 9062990142 9860868760 9070853746 9070853747 9070853748 9860868677 9860868678 9860868679 9860866363/OA/USD12321333,23/BI/816467004/BN/BNK COUNTRY/ bANK NAME
Output: 9062990141 9062990142 9860868760 9070853746 9070853747 9070853748 9860868677 9860868678 9860868679 9860866363