I have a string :
www.domain.com/I-Need-This-Part
I need to detect what the most frequently used delimiter is after the / which in this case is - . The delimiter may change depending on the url.
Once I working this out, I will use .split and pass in the most frequently used delimiter to count the parts.
Any help on this would be much appreciated.
Thank you in advance.