
aceall
Novice
Mar 26, 2010, 2:42 AM
Post #1 of 3
(7593 views)
|
Need to strip part of string
|
Can't Post
|
|
I would like to strip this string www.domain.somedomnain.something.com and get only "domain.somedomain.something". I used /^[^.]*.//. It removes the first part i.e www; I'd like to get ".com" also removed. Any help will be appreciated. -thanks
|