Click here to Skip to main content
15,913,487 members
Home / Discussions / C#
   

C#

 
AnswerRe: Run program inside C# app. Pin
Giorgi Dalakishvili11-Sep-08 1:41
mentorGiorgi Dalakishvili11-Sep-08 1:41 
GeneralRe: Run program inside C# app. Pin
Vodstok11-Sep-08 1:44
Vodstok11-Sep-08 1:44 
GeneralRe: Run program inside C# app. Pin
Giorgi Dalakishvili11-Sep-08 1:49
mentorGiorgi Dalakishvili11-Sep-08 1:49 
GeneralRe: Run program inside C# app. Pin
Vodstok11-Sep-08 1:52
Vodstok11-Sep-08 1:52 
GeneralRe: Run program inside C# app. Pin
Giorgi Dalakishvili11-Sep-08 2:03
mentorGiorgi Dalakishvili11-Sep-08 2:03 
QuestionIssue related to DatagridviewButton . Pin
supriyaP11-Sep-08 1:10
supriyaP11-Sep-08 1:10 
AnswerRe: Issue related to DatagridviewButton . Pin
NanaAM11-Sep-08 1:27
NanaAM11-Sep-08 1:27 
GeneralRe: Issue related to DatagridviewButton . Pin
supriyaP11-Sep-08 19:20
supriyaP11-Sep-08 19:20 
QuestionBackgrounImage refresh problem Pin
mihksoft11-Sep-08 1:04
mihksoft11-Sep-08 1:04 
AnswerRe: BackgrounImage refresh problem Pin
Harvey Saayman11-Sep-08 1:38
Harvey Saayman11-Sep-08 1:38 
QuestionHelp incase of Sorting with .net Framework Pin
tasumisra11-Sep-08 0:35
tasumisra11-Sep-08 0:35 
AnswerRe: Help incase of Sorting with .net Framework Pin
DaveyM6911-Sep-08 0:43
professionalDaveyM6911-Sep-08 0:43 
GeneralRe: Help incase of Sorting with .net Framework Pin
tasumisra11-Sep-08 0:55
tasumisra11-Sep-08 0:55 
GeneralRe: Help incase of Sorting with .net Framework Pin
DaveyM6911-Sep-08 1:18
professionalDaveyM6911-Sep-08 1:18 
GeneralRe: Help incase of Sorting with .net Framework Pin
tasumisra11-Sep-08 1:41
tasumisra11-Sep-08 1:41 
QuestionSkipping of Code While Converting the Char to Bytes Pin
tauras8111-Sep-08 0:34
tauras8111-Sep-08 0:34 
AnswerRe: Skipping of Code While Converting the Char to Bytes Pin
stancrm11-Sep-08 0:38
stancrm11-Sep-08 0:38 
AnswerRe: Skipping of Code While Converting the Char to Bytes Pin
Guffa11-Sep-08 1:46
Guffa11-Sep-08 1:46 
QuestionSelecting certain data in a datagrid and Export it to Excel??? Pin
Twyce10-Sep-08 23:43
Twyce10-Sep-08 23:43 
Questionregex.matches ? Pin
enginço10-Sep-08 23:17
enginço10-Sep-08 23:17 
hi everybody,
I have a text like this:
<img align=left valign=top src=http://www.takvim.com.tr/2008/09/11/im/7BC7F044C2062649A63A5239b.jpg alt='Bozacı, şıracı dolmuşçu'  height=160 border=0 >


and I have pattern like this:
pattern = (?<name>\b\w+\b)\s*=\s*("(?<value>[^"]*)"|'(?<value>[^']*)'| (?<value>[^"'<> \s]*) |(?<value>[^"'<> \s]+)\s*)+


I wnat to get "src" block.
foreach (Match submatch in Regex.Matches(pattern))
{
    submatch.groups.... // It returns allways 2 groups
}


It returns allways 2 groups; In this case it returns:
submatch.groups[1] = align
submatch.groups[2] = border

But I need http://www.takvim.com.tr/2008/09/11/im/7BC7F044C2062649A63A5239b.jpg

By the way, I have no only that template text.
it can be:
<a href=gnb102.html>
or
<a href="gnb102.html">
or
href=gnb102.html
or
href="gnb102.html"

etc...
Any Ideas?
Thanx...

I want to fly but I don't have wings

AnswerRe: regex.matches ? Pin
leppie10-Sep-08 23:33
leppie10-Sep-08 23:33 
GeneralRe: regex.matches ? Pin
enginço10-Sep-08 23:43
enginço10-Sep-08 23:43 
AnswerRe: regex.matches ? Pin
leppie10-Sep-08 23:50
leppie10-Sep-08 23:50 
GeneralRe: regex.matches ? Pin
enginço11-Sep-08 0:09
enginço11-Sep-08 0:09 
GeneralRe: regex.matches ? Pin
leppie11-Sep-08 1:14
leppie11-Sep-08 1:14 

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.