i am trying to fetch anything that looks like a URL from a string
how would i do this with c#?
most of the are going to look like this: http://www.something.com, but some may look like this: http://something.somethingelse.com
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll want to use RegEx for that. Here’s a handy article that will get you started. It’s an ASP.NET article that wants to find URLs and turn them into hyperlinks but performs the activity you’re interested in.