C# School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a C# Expert!

Join 307,219 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 1,632 people online right now. Registration is fast and FREE... Join Now!




Regular Expressions?

 

Regular Expressions?, C#

reCoded

25 Feb, 2008 - 05:42 PM
Post #1

D.I.C Regular
***

Joined: 25 Feb, 2008
Posts: 270



Thanked: 5 times
My Contributions
Hey everyone,

I am looking for some help doing the following in C#. I have saved an HTML file (website) and I want to read a file (user input) and search a string (user input) and print out the string if it was found. Now since this is an HTML file and there are boarders, columns etc. How can I go about tackling this problem.

Thanks,
reCoded

User is offlineProfile CardPM
+Quote Post


Posts in this topic
reCoded   Regular Expressions?   25 Feb, 2008 - 05:42 PM
PsychoCoder   Have a look at this snippet for Strip HTML from st...   25 Feb, 2008 - 06:51 PM
reCoded   Thanks for the reply! It was recently stated ...   28 Feb, 2008 - 08:07 PM
Martyr2   Well first of all, you can do this using regular e...   28 Feb, 2008 - 10:02 PM
reCoded   </tr> <tr> <td><sup...   2 Mar, 2008 - 06:57 PM
orcasquall   Actually, I think it would have been better if you...   5 Mar, 2008 - 05:54 AM
reCoded   Thank you for the reply! Yes that helped out ...   5 Mar, 2008 - 09:08 AM
reCoded   Using the website above. Should I go through the f...   5 Mar, 2008 - 11:53 PM
orcasquall   This was how I did it (in full)... string sHtml =...   6 Mar, 2008 - 04:22 AM
reCoded   I see you used regular expressions? I was told not...   6 Mar, 2008 - 04:52 PM
jayman9   Since you can't use RegEx, then simply read th...   6 Mar, 2008 - 07:02 PM
reCoded   Yeah I am working on it now. Thanks a lot everyone...   6 Mar, 2008 - 10:55 PM
reCoded   Hey guys, I am having trouble with the following ...   10 Mar, 2008 - 05:04 AM
PsychoCoder   I think in order to help we're going to see th...   10 Mar, 2008 - 05:16 AM
reCoded   String inputFile = args[0]; String border...   10 Mar, 2008 - 11:25 AM
jayman9   Try commenting out the following line and then run...   10 Mar, 2008 - 01:37 PM
reCoded   Thank you!!!! I over looked that I...   11 Mar, 2008 - 10:49 AM
jayman9   Anytime, glad I could help.   11 Mar, 2008 - 11:04 AM
reCoded   string border = borderCross; MatchCol...   19 Mar, 2008 - 06:23 PM
orcasquall   Hmm... actually someone (from DIC) contacted me a ...   20 Mar, 2008 - 04:50 AM
reCoded   Thanks for the replies, and also the help I just w...   20 Mar, 2008 - 02:27 PM
SenHu   I found a great script at http://biterscripting.co...   26 Dec, 2008 - 09:00 AM

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 10:19PM

Live C# Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C# Tutorials

Reference Sheets

C# Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month