Click here to Skip to main content
16,006,570 members
Home / Discussions / C#
   

C#

 
GeneralRe: how can I modify control in another opened form? Pin
Anonymous1-Aug-05 16:31
Anonymous1-Aug-05 16:31 
GeneralREGEX Pin
eggie51-Aug-05 12:42
eggie51-Aug-05 12:42 
GeneralRe: REGEX Pin
Christian Graus1-Aug-05 12:46
protectorChristian Graus1-Aug-05 12:46 
GeneralRe: REGEX Pin
eggie51-Aug-05 12:56
eggie51-Aug-05 12:56 
GeneralRe: REGEX Pin
Christian Graus1-Aug-05 13:04
protectorChristian Graus1-Aug-05 13:04 
GeneralRe: REGEX Pin
eggie51-Aug-05 12:59
eggie51-Aug-05 12:59 
GeneralRe: REGEX Pin
Christian Graus1-Aug-05 13:08
protectorChristian Graus1-Aug-05 13:08 
GeneralRe: REGEX Pin
eggie52-Aug-05 7:33
eggie52-Aug-05 7:33 
([^,]*,[^,]*,[^;,]*);?

Is this the final expression I should use? Because, you posted a couple and I'm confused. This particular expression when ran against this string ...

Day,Amount,Direction;3,100,West;5,43,North;5,44,North West;7,54,South;2,5995,East;,,;,,;,,;54,35345,;,543,North;6,,West


... returns all the groupes of three correctly.

Day,Amount,Direction;
3,100,West;
5,43,North;
5,44,North West;
7,54,South;
2,5995,East;
,,;
,,;
,,;
54,35345,;
,543,North;
6,,West


However, I would like to be able to replace a part of the expression with a number or a word, eg.

(5,[^,]*,[^;,]*);?
(Day,[^,]*,[^;,]*);?
([^,]*,44,[^;,]*);?
([^,]*,[^,]*,North West);?
([^,]*,[^,]*,North);?
Day, Ammount, Direction
etc...


It might help to visualize the above string as an HTML table (because that's what it is)

Can you tell me how to use your expression to do queries like above?

/\ |_ E X E GG
GeneralRe: REGEX Pin
eggie51-Aug-05 13:03
eggie51-Aug-05 13:03 
GeneralRe: REGEX Pin
Christian Graus1-Aug-05 13:09
protectorChristian Graus1-Aug-05 13:09 
GeneralRe: REGEX Pin
eggie521-Dec-05 12:22
eggie521-Dec-05 12:22 
Generalc#-PHP integration Pin
sarkaar1-Aug-05 11:38
sarkaar1-Aug-05 11:38 
GeneralRe: c#-PHP integration Pin
Guffa1-Aug-05 11:52
Guffa1-Aug-05 11:52 
GeneralRe: c#-PHP integration Pin
Tom Larsen1-Aug-05 11:53
Tom Larsen1-Aug-05 11:53 
Generalobject{float[]} Pin
Member 20210221-Aug-05 11:30
Member 20210221-Aug-05 11:30 
GeneralRe: object{float[]} Pin
Guffa1-Aug-05 11:55
Guffa1-Aug-05 11:55 
GeneralWrite to Notepad without creating a file Pin
Alomgir Miah1-Aug-05 11:25
Alomgir Miah1-Aug-05 11:25 
GeneralRe: Write to Notepad without creating a file Pin
eggie51-Aug-05 11:30
eggie51-Aug-05 11:30 
GeneralRe: Write to Notepad without creating a file Pin
Alomgir Miah1-Aug-05 11:51
Alomgir Miah1-Aug-05 11:51 
GeneralRe: Write to Notepad without creating a file Pin
eggie51-Aug-05 12:43
eggie51-Aug-05 12:43 
GeneralControl Key Capture in Win Forms Pin
malharone1-Aug-05 10:41
malharone1-Aug-05 10:41 
GeneralRe: Control Key Capture in Win Forms Pin
Christian Graus1-Aug-05 11:57
protectorChristian Graus1-Aug-05 11:57 
GeneralRe: Control Key Capture in Win Forms Pin
mrsnipey1-Aug-05 12:06
mrsnipey1-Aug-05 12:06 
GeneralCan't install C# Windows Service Pin
Darryl Borden1-Aug-05 10:10
Darryl Borden1-Aug-05 10:10 
GeneralRe: Can't install C# Windows Service Pin
Christian Graus1-Aug-05 11:58
protectorChristian Graus1-Aug-05 11:58 

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.