string strip everything before .com javascript code example
Example: how to cut a string uptil specific character javascript
var str = "Abc: Lorem ipsum sit amet";
str = str.split(":").pop();
// OR
str = str.split(":").shift();
var str = "Abc: Lorem ipsum sit amet";
str = str.split(":").pop();
// OR
str = str.split(":").shift();