Click here to Skip to main content
15,890,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Obtain information of my pc Pin
jfna28-Jun-07 4:58
jfna28-Jun-07 4:58 
GeneralRe: Obtain information of my pc Pin
Luc Pattyn28-Jun-07 5:04
sitebuilderLuc Pattyn28-Jun-07 5:04 
GeneralRe: Obtain information of my pc Pin
jfna28-Jun-07 5:26
jfna28-Jun-07 5:26 
GeneralRe: Obtain information of my pc Pin
Luc Pattyn28-Jun-07 6:00
sitebuilderLuc Pattyn28-Jun-07 6:00 
GeneralRe: Obtain information of my pc Pin
jfna28-Jun-07 6:09
jfna28-Jun-07 6:09 
AnswerRe: Obtain information of my pc Pin
Luc Pattyn28-Jun-07 12:26
sitebuilderLuc Pattyn28-Jun-07 12:26 
QuestionReading HTML File Pin
t4ure4n28-Jun-07 3:14
t4ure4n28-Jun-07 3:14 
AnswerRe: Reading HTML File Pin
Manas Bhardwaj28-Jun-07 3:23
professionalManas Bhardwaj28-Jun-07 3:23 
May be this would help you Rose | [Rose]
public string StripHTML(ref string source)
       {
           string result;
           result = source.Replace("\r", " ");
           result = result.Replace("\n", " ");
           result = System.Text.RegularExpressions.Regex.Replace(result,
                       @"<( )*script([^>])*>", "<script>",
                       System.Text.RegularExpressions.RegexOptions.IgnoreCase);
           result = System.Text.RegularExpressions.Regex.Replace(result,
                    @"(<( )*(/)( )*script( )*>)", "</script>",
                    System.Text.RegularExpressions.RegexOptions.IgnoreCase);
           result = System.Text.RegularExpressions.Regex.Replace(result, @"(<script>)[^>]*(</script>)", "");
           result = System.Text.RegularExpressions.Regex.Replace(result, "<[^>]*>", "");
           for (int count = 0; count < technicalStopWordArrayList.Count; count++)
           {
               result = result.Replace(technicalStopWordArrayList[count].ToString(), " ");
           }
           result = result.Replace("&", " ");

           return result.Trim();
       }

QuestionRe: Reading HTML File Pin
t4ure4n28-Jun-07 3:53
t4ure4n28-Jun-07 3:53 
AnswerRe: Reading HTML File Pin
Manas Bhardwaj28-Jun-07 3:56
professionalManas Bhardwaj28-Jun-07 3:56 
GeneralRe: Reading HTML File Pin
t4ure4n28-Jun-07 4:10
t4ure4n28-Jun-07 4:10 
QuestionProblems in web services Pin
Zahid Rsons28-Jun-07 2:33
Zahid Rsons28-Jun-07 2:33 
AnswerRe: Problems in web services Pin
kubben28-Jun-07 4:14
kubben28-Jun-07 4:14 
GeneralRe: Problems in web services Pin
Zahid Rsons29-Jun-07 0:34
Zahid Rsons29-Jun-07 0:34 
Questionhow to post javascript array to the server in c# Pin
srinivassam28-Jun-07 2:29
srinivassam28-Jun-07 2:29 
QuestionGetting Absolute path of windows service Pin
EvilInide28-Jun-07 1:46
EvilInide28-Jun-07 1:46 
AnswerRe: Getting Absolute path of windows service Pin
Luc Pattyn28-Jun-07 1:49
sitebuilderLuc Pattyn28-Jun-07 1:49 
GeneralRe: Getting Absolute path of windows service Pin
EvilInide28-Jun-07 2:00
EvilInide28-Jun-07 2:00 
GeneralRe: Getting Absolute path of windows service Pin
Luc Pattyn28-Jun-07 2:13
sitebuilderLuc Pattyn28-Jun-07 2:13 
Questionthumb.db file is not updating itself Pin
Shoaib Hussain28-Jun-07 1:38
Shoaib Hussain28-Jun-07 1:38 
QuestionFile Locking Pin
scotlandc28-Jun-07 1:03
scotlandc28-Jun-07 1:03 
AnswerRe: File Locking Pin
Le centriste28-Jun-07 3:03
Le centriste28-Jun-07 3:03 
GeneralRe: File Locking Pin
scotlandc28-Jun-07 3:21
scotlandc28-Jun-07 3:21 
GeneralRe: File Locking Pin
Amar Chaudhary28-Jun-07 3:55
Amar Chaudhary28-Jun-07 3:55 
Questionmembership API Pin
sangramkp28-Jun-07 0:53
sangramkp28-Jun-07 0:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.