Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
AnswerRe: Expanded Remote Registry Editing Issues Pin
Dave Kreskowiak24-Mar-06 9:35
mveDave Kreskowiak24-Mar-06 9:35 
GeneralRe: Expanded Remote Registry Editing Issues Pin
Joshua Lunsford24-Mar-06 9:54
Joshua Lunsford24-Mar-06 9:54 
GeneralRe: Expanded Remote Registry Editing Issues Pin
Dave Kreskowiak24-Mar-06 12:42
mveDave Kreskowiak24-Mar-06 12:42 
QuestionHow to off window in console application? Pin
Dima Filipiuk24-Mar-06 8:58
Dima Filipiuk24-Mar-06 8:58 
AnswerRe: How to off window in console application? Pin
Ed.Poore24-Mar-06 9:09
Ed.Poore24-Mar-06 9:09 
AnswerRe: How to off window in console application? Pin
Kevin Zheng24-Mar-06 15:13
Kevin Zheng24-Mar-06 15:13 
Questionstrings help Pin
Inuyasha96324-Mar-06 8:36
Inuyasha96324-Mar-06 8:36 
AnswerRe: strings help Pin
Ed.Poore24-Mar-06 9:08
Ed.Poore24-Mar-06 9:08 
string test = @"Dialogue: 0,0:00:33.36,0:00:36.61,Default,,0000,0000,0000,,{\k63}hora {\k54}omou {\k51}ijou {\k34}ni {\k48}tondemo {\k75}nai";
// \{ escapes the { character
// \\k represents \k, the \ must be escaped
// (\d+) is more than one numerical digit and assign a group to it (the ()s)
// \} closes the bracket

string regex = @"\{\\k(\d+)\}";

foreach (Match match in Regex.Matches(test, regex))
{
	// Display the group (indicated by the parenthesis in the regular expression)
	// Note Groups[0] is the whole match, Groups[1->] are the actual groups
	Console.WriteLine(match.Groups[1].Value);
}


[modification]You'll need to import System.Text.RegularExpressions in your source file (or type the full name for RegularExpression classes)[/modification]

Ed
QuestionAdding active icons to title-bar of common File Open dialog Pin
Saber Of Borg24-Mar-06 6:01
Saber Of Borg24-Mar-06 6:01 
QuestionHow to trigger when any window/dialog opens within Windows Pin
Saber Of Borg24-Mar-06 5:55
Saber Of Borg24-Mar-06 5:55 
AnswerRe: How to trigger when any window/dialog opens within Windows Pin
Bob_Sun24-Mar-06 6:13
Bob_Sun24-Mar-06 6:13 
GeneralRe: How to trigger when any window/dialog opens within Windows Pin
Saber Of Borg24-Mar-06 14:38
Saber Of Borg24-Mar-06 14:38 
AnswerRe: How to trigger when any window/dialog opens within Windows Pin
Dave Kreskowiak24-Mar-06 7:00
mveDave Kreskowiak24-Mar-06 7:00 
GeneralRe: How to trigger when any window/dialog opens within Windows Pin
Saber Of Borg24-Mar-06 14:35
Saber Of Borg24-Mar-06 14:35 
GeneralRe: How to trigger when any window/dialog opens within Windows Pin
mav.northwind24-Mar-06 21:50
mav.northwind24-Mar-06 21:50 
GeneralRe: How to trigger when any window/dialog opens within Windows Pin
Dave Kreskowiak25-Mar-06 2:45
mveDave Kreskowiak25-Mar-06 2:45 
GeneralRe: How to trigger when any window/dialog opens within Windows Pin
Saber Of Borg26-Mar-06 6:47
Saber Of Borg26-Mar-06 6:47 
QuestionHow do I create different sized toolbar buttons? Pin
pliu_200024-Mar-06 5:36
pliu_200024-Mar-06 5:36 
AnswerRe: How do I create different sized toolbar buttons? Pin
Ravi Bhavnani24-Mar-06 5:45
professionalRavi Bhavnani24-Mar-06 5:45 
GeneralRe: How do I create different sized toolbar buttons? Pin
pliu_200024-Mar-06 6:01
pliu_200024-Mar-06 6:01 
GeneralRe: How do I create different sized toolbar buttons? Pin
Ravi Bhavnani24-Mar-06 6:50
professionalRavi Bhavnani24-Mar-06 6:50 
QuestionC# and Windows Services Pin
hung_ngole24-Mar-06 4:24
hung_ngole24-Mar-06 4:24 
AnswerRe: C# and Windows Services Pin
shabonaa29-May-06 6:32
shabonaa29-May-06 6:32 
QuestionC# and 'SQL Server 2005 EE', going from VB to C# ? Pin
Inkimar24-Mar-06 3:48
Inkimar24-Mar-06 3:48 
AnswerRe: C# and 'SQL Server 2005 EE', going from VB to C# ? Pin
ToddHileHoffer24-Mar-06 6:43
ToddHileHoffer24-Mar-06 6:43 

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.