I am looking for the word customerID number in a string. Customer id would be in this format customerID{id}
so look at some different strings I would have
myVar = "id: 1928763783.Customer Email: test@test.com.Customer Name:John Smith.CustomerID #123456.";
myVar = "id: 192783.Customer Email: test1@test.com.Customer Name:Rose Vil.CustomerID #193474.";
myVar = "id: 84374398.Customer Email: test2@test.com.Customer Name:James Yuem.";
Ideally I wanna be able to check if a CustomerID exists or not. If it does exists then I want to see what it is. I know we can use regext but not sure howd that look
thanks
1 Answer