I want to remove the β www. β Part from the beginning of the URL string
For example, in these test cases:
eg. www.test.com β test.com
e.g. www.testwww.com β testwww.com
e.g. testwww.com β testwww.com (if it does not exist)
Do I need to use Regexp or is there an intelligent feature?
javascript string
Lukas Mar 29 '12 at 15:34 2012-03-29 15:34
source share