I have following String :
Test: Testid #123123 - Updated
I want to find the substring 123123 from this string.
I tried : <msg>.substring(15, 21); It gives me the correct result.
but I want to find this substring in the way that it should find the id between the # and the next space without giving the beginning and ending index.
Thanks.