Here's the string:
\n\n\t\thttp://www.linkedin.com/in/ckenworthy\n\n\t
How can I strip everything so I only end up with:
http://www.linkedin.com/in/ckenworthy
I've tried the following:
string value = doc.XPathSelectElement("/ipb/profile/contactinformation/contact[title/text() = 'LinkedIn']/value").Value;
value = value.Replace(Environment.NewLine, "");
return value;
But I always end up with the first line I posted up there. Thank you!