Click here to Skip to main content
15,886,799 members
Home / Discussions / C#
   

C#

 
GeneralRe: Weird Collection Thing Pin
Rolando CC24-Apr-09 7:43
professionalRolando CC24-Apr-09 7:43 
GeneralRe: Weird Collection Thing Pin
#realJSOP24-Apr-09 8:15
mve#realJSOP24-Apr-09 8:15 
Questionwatch video live stream on pda (broadcast from pc) Pin
b_emsi24-Apr-09 5:50
b_emsi24-Apr-09 5:50 
Questiondatasets over class objects to store data Pin
Tina P24-Apr-09 5:35
Tina P24-Apr-09 5:35 
AnswerRe: datasets over class objects to store data Pin
Yusuf24-Apr-09 5:55
Yusuf24-Apr-09 5:55 
GeneralRe: datasets over class objects to store data Pin
Tina P24-Apr-09 6:14
Tina P24-Apr-09 6:14 
GeneralRe: datasets over class objects to store data Pin
Yusuf24-Apr-09 6:20
Yusuf24-Apr-09 6:20 
QuestionRegular Expressions Pin
jas0n2324-Apr-09 4:54
jas0n2324-Apr-09 4:54 
Hello everybody! Smile | :)

I am working on a little program and I was wondering if somebody could kindly offer me some help on using Regex?

Here's a scenario, let's say that I have a HTML file... I want to be able to find any text inside a HTML tag. For example:

<title>Find meeee!</title> or;

<a href="http://www.finmeeee.com/">la la lalaaaa</a>

But, the text between the HTML tags may contain symbols, letters, numbers etc, so is there a simple way to use Regex to find <b>any text</b> inside a HTML tag, extract/copy it, and perform an action, and then move onto the next match?:

1. Find match.
2. Copy or Extract the match.
3. Perform an action, like save match to file (which I know how to do).
4. Find next match, and repeat process.

I would greatly appreciate any help I can get on this. Lots of thanks in advance and thanks for taking the time to read this pretty long question. Smile | :)

P.S.
I wouldn't have posted this message, but I have tried MSDN and Google, read articles and tutorials but just can't get any of the snips I wrote to work.

Cheers,
Jay.

foreach( inch on Jason )
{
Girlfriend.IsHappier();
}
AnswerRe: Regular Expressions Pin
musefan24-Apr-09 5:28
musefan24-Apr-09 5:28 
AnswerRe: Regular Expressions Pin
Yusuf24-Apr-09 5:56
Yusuf24-Apr-09 5:56 
QuestionMultiple Forms Open --- Toolstrip Pin
nagendra.vk24-Apr-09 4:17
nagendra.vk24-Apr-09 4:17 
AnswerRe: Multiple Forms Open --- Toolstrip Pin
musefan24-Apr-09 4:24
musefan24-Apr-09 4:24 
GeneralRe: Multiple Forms Open --- Toolstrip Pin
nagendra.vk24-Apr-09 4:45
nagendra.vk24-Apr-09 4:45 
GeneralRe: Multiple Forms Open --- Toolstrip Pin
Nagy Vilmos24-Apr-09 4:47
professionalNagy Vilmos24-Apr-09 4:47 
GeneralRe: Multiple Forms Open --- Toolstrip Pin
musefan24-Apr-09 5:06
musefan24-Apr-09 5:06 
AnswerRe: Multiple Forms Open --- Toolstrip Pin
Pete O'Hanlon24-Apr-09 4:50
mvePete O'Hanlon24-Apr-09 4:50 
QuestionHow can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Narendra Reddy Vajrala24-Apr-09 1:43
Narendra Reddy Vajrala24-Apr-09 1:43 
AnswerRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Paddy Boyd24-Apr-09 1:48
Paddy Boyd24-Apr-09 1:48 
GeneralRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Narendra Reddy Vajrala24-Apr-09 2:00
Narendra Reddy Vajrala24-Apr-09 2:00 
GeneralRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Dave Kreskowiak24-Apr-09 7:08
mveDave Kreskowiak24-Apr-09 7:08 
AnswerRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Henry Minute24-Apr-09 1:48
Henry Minute24-Apr-09 1:48 
GeneralRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Narendra Reddy Vajrala24-Apr-09 2:01
Narendra Reddy Vajrala24-Apr-09 2:01 
GeneralRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
HuntingWabbits24-Apr-09 2:05
HuntingWabbits24-Apr-09 2:05 
GeneralRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
Henry Minute24-Apr-09 2:10
Henry Minute24-Apr-09 2:10 
AnswerRe: How can i install .net 3.5 setup project without .net frameowrk 3.5? Pin
musefan24-Apr-09 2:08
musefan24-Apr-09 2:08 

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.