Hi Everyone,
Could anyone suggest the regex required to get this id 5004E000006KKhy from the below URL
https://cs56.salesforce.com/5004E000006KKhy
Thanks,
Ulaga
Hi Everyone,
Could anyone suggest the regex required to get this id 5004E000006KKhy from the below URL
https://cs56.salesforce.com/5004E000006KKhy
Thanks,
Ulaga
If you trying to extract a string, it is better to use substring. Regex operations need more computing.
Try this -
yourstring.substring(yoursubstring.LastIndexOf(“/”)+1)
Regards,
Karthik Byggari