Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
GeneralRe: creating a tile pattern of user controls Pin
Mycroft Holmes3-Aug-08 21:22
professionalMycroft Holmes3-Aug-08 21:22 
GeneralRe: creating a tile pattern of user controls Pin
ideasman3-Aug-08 23:07
ideasman3-Aug-08 23:07 
Questionc# and implementing security Pin
Ryan Minor3-Aug-08 2:19
Ryan Minor3-Aug-08 2:19 
AnswerRe: c# and implementing security Pin
Kevin McFarlane3-Aug-08 5:01
Kevin McFarlane3-Aug-08 5:01 
AnswerRe: c# and implementing security Pin
nelsonpaixao3-Aug-08 15:17
nelsonpaixao3-Aug-08 15:17 
Questionconnecting to excel 2007 Pin
Abdul Rahman Hamidy3-Aug-08 2:02
Abdul Rahman Hamidy3-Aug-08 2:02 
AnswerRe: connecting to excel 2007 Pin
MarkB7773-Aug-08 14:44
MarkB7773-Aug-08 14:44 
QuestionRegular expressions: Show matches [modified] Pin
MyPiano3-Aug-08 2:00
MyPiano3-Aug-08 2:00 
Hello C# programmers,

I currently dabble in programming with regular expressions. My problem is that I don't know, how I can extract a match if the programm finds one in a string. I already googled, but I couldn't found a site that could explain me how to manage it. I already tried Match and MatchCollection but it did not work. My previous source is following:

string test = "gjhsdjfjhfsdfjhsdf\ntztrzrtz\n\"http://screenshots.filesnetwork.com/68/potd/t_1215615627_85.jpg\"\nggdgfdg56ggdg";

string pattern = @"|.+\""http\://screenshots\.filesnetwork\.com/68/potd/t_[0-9]+_[0-9]+\.jpg\"".+|""";

Regex re = new Regex(pattern,RegexOptions.Multiline);


I am helpless with the rest, even though I know that it won't be that difficult.
I'm looking forward to your answers. Smile | :)

Best regards

MyPiano

modified on Sunday, August 3, 2008 8:52 AM

AnswerRe: Regular expressions: Show matches Pin
Nicholas Butler3-Aug-08 2:52
sitebuilderNicholas Butler3-Aug-08 2:52 
GeneralRe: Regular expressions: Show matches Pin
MyPiano3-Aug-08 3:13
MyPiano3-Aug-08 3:13 
AnswerRe: Regular expressions: Show matches Pin
Guffa3-Aug-08 3:37
Guffa3-Aug-08 3:37 
GeneralRe: Regular expressions: Show matches Pin
MyPiano3-Aug-08 3:40
MyPiano3-Aug-08 3:40 
QuestionDataGridView scrolling? Pin
kbalias2-Aug-08 22:19
kbalias2-Aug-08 22:19 
AnswerRe: DataGridView scrolling? Pin
Mycroft Holmes2-Aug-08 22:47
professionalMycroft Holmes2-Aug-08 22:47 
GeneralRe: DataGridView scrolling? Pin
kbalias2-Aug-08 22:55
kbalias2-Aug-08 22:55 
GeneralRe: DataGridView scrolling? Pin
Mycroft Holmes3-Aug-08 2:25
professionalMycroft Holmes3-Aug-08 2:25 
QuestionChallenge for C# guru's Pin
MarkB7772-Aug-08 21:50
MarkB7772-Aug-08 21:50 
AnswerRe: Challenge for C# guru's Pin
Nicholas Butler2-Aug-08 23:43
sitebuilderNicholas Butler2-Aug-08 23:43 
GeneralRe: Challenge for C# guru's [modified] Pin
Guffa3-Aug-08 0:24
Guffa3-Aug-08 0:24 
GeneralRe: Challenge for C# guru's Pin
Nicholas Butler3-Aug-08 1:00
sitebuilderNicholas Butler3-Aug-08 1:00 
GeneralRe: Challenge for C# guru's Pin
MarkB7773-Aug-08 14:55
MarkB7773-Aug-08 14:55 
AnswerRe: Challenge for C# guru's Pin
PIEBALDconsult3-Aug-08 5:33
mvePIEBALDconsult3-Aug-08 5:33 
GeneralRe: Challenge for C# guru's Pin
MarkB7773-Aug-08 14:52
MarkB7773-Aug-08 14:52 
GeneralRe: Challenge for C# guru's Pin
PIEBALDconsult4-Aug-08 13:37
mvePIEBALDconsult4-Aug-08 13:37 
QuestionHow can I have *.Pdf files in C# Project ? Pin
Laji592-Aug-08 20:11
Laji592-Aug-08 20:11 

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.