Dear AX Experts,
Can someone please share an idea on how to read specific text from a string ? example as below
Example String = "thisisPIV567898invoicenumber"
Required output text = PIV567898
Note: The position of text can be changed, irrespective of the position, I need to read first instance of text starting with "PIV" followed by 6 digits
More examples of string as below
"PIV984567secondinvoiceexample"
"/inv/PIV056342/zvest"
"Z&X MAN FOREST INVPIV052514, PIV060148 PIV062270 " ( in this scenario output should be PIV052514).
Please help, thanks in Advance