Click here to Skip to main content
15,878,814 members
Home / Discussions / C#
   

C#

 
QuestionLoading a video from a web server and displaying it on my application Pin
Rei ho24-Jan-11 20:30
Rei ho24-Jan-11 20:30 
AnswerRe: Loading a video from a web server and displaying it on my application Pin
RobCroll24-Jan-11 21:33
RobCroll24-Jan-11 21:33 
GeneralRe: Loading a video from a web server and displaying it on my application Pin
Rei ho24-Jan-11 22:40
Rei ho24-Jan-11 22:40 
GeneralRe: Loading a video from a web server and displaying it on my application Pin
RobCroll24-Jan-11 23:54
RobCroll24-Jan-11 23:54 
QuestionExtracting numeric from string Pin
nitin_ion24-Jan-11 20:23
nitin_ion24-Jan-11 20:23 
AnswerRe: Extracting numeric from string Pin
Pravin Patil, Mumbai24-Jan-11 21:32
Pravin Patil, Mumbai24-Jan-11 21:32 
GeneralRe: Extracting numeric from string Pin
OriginalGriff24-Jan-11 21:43
mveOriginalGriff24-Jan-11 21:43 
AnswerRe: Extracting numeric from string Pin
OriginalGriff24-Jan-11 21:41
mveOriginalGriff24-Jan-11 21:41 
You should have posted this to the Regular Expressions forum[^], but try using named groups and processing the line more carefully:
string s = "Shipment ID: 212857,1212,Invoice No: 1202127, 25-JAN-10 (PDF)";
Match m = Regex.Match(s, @"ID:\s(?<SID>\d+),(?<SID2>\d+)");
Console.WriteLine(m.Groups["SID"].Value + "," + m.Groups["SID2"].Value);

Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

GeneralRe: Extracting numeric from string Pin
Pravin Patil, Mumbai25-Jan-11 1:06
Pravin Patil, Mumbai25-Jan-11 1:06 
GeneralRe: Extracting numeric from string Pin
OriginalGriff25-Jan-11 1:09
mveOriginalGriff25-Jan-11 1:09 
AnswerRe: Extracting numeric from string Pin
musefan25-Jan-11 3:06
musefan25-Jan-11 3:06 
Questionjavascript: opener.document Pin
fififlowertot24-Jan-11 10:19
fififlowertot24-Jan-11 10:19 
AnswerRe: javascript: opener.document Pin
dan!sh 24-Jan-11 10:25
professional dan!sh 24-Jan-11 10:25 
GeneralRe: javascript: opener.document Pin
fififlowertot24-Jan-11 10:36
fififlowertot24-Jan-11 10:36 
GeneralRe: javascript: opener.document Pin
GenJerDan24-Jan-11 11:29
GenJerDan24-Jan-11 11:29 
GeneralRe: javascript: opener.document Pin
fififlowertot24-Jan-11 22:05
fififlowertot24-Jan-11 22:05 
QuestionHow do I access object properties using stack frames? Pin
DaleDaleM24-Jan-11 10:14
DaleDaleM24-Jan-11 10:14 
AnswerRe: How do I access object properties using stack frames? Pin
dan!sh 24-Jan-11 10:36
professional dan!sh 24-Jan-11 10:36 
GeneralRe: How do I access object properties using stack frames? Pin
DaleDaleM24-Jan-11 10:40
DaleDaleM24-Jan-11 10:40 
GeneralRe: How do I access object properties using stack frames? Pin
dan!sh 24-Jan-11 10:51
professional dan!sh 24-Jan-11 10:51 
GeneralRe: How do I access object properties using stack frames? Pin
DaleDaleM24-Jan-11 10:56
DaleDaleM24-Jan-11 10:56 
GeneralRe: How do I access object properties using stack frames? Pin
dan!sh 24-Jan-11 11:01
professional dan!sh 24-Jan-11 11:01 
GeneralRe: How do I access object properties using stack frames? Pin
DaleDaleM24-Jan-11 11:17
DaleDaleM24-Jan-11 11:17 
GeneralRe: How do I access object properties using stack frames? Pin
dan!sh 24-Jan-11 11:24
professional dan!sh 24-Jan-11 11:24 
GeneralRe: How do I access object properties using stack frames? Pin
DaleDaleM24-Jan-11 11:26
DaleDaleM24-Jan-11 11:26 

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.