I have code craw data and I have write data to file txt but it get all html tags ! I only want get numbers ! help me !
my code : http://www.4shared.com/file/sAoasNMU/wrcode.html
kimlong008
0
Light Poster
Recommended Answers
Jump to PostThis method will remove everything that is between < > characters, including the < and >:
public string StripHTML(string text) { return Regex.Replace(text, @”<(.|\n)*?>”, string.Empty); }
You'll need to include
using System.Text.RegularExpressions;
at the top of your code.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.