Click here to Skip to main content
16,011,508 members
Home / Discussions / C#
   

C#

 
QuestionSchema Pin
Mahi.Ragava15-Dec-05 18:00
Mahi.Ragava15-Dec-05 18:00 
QuestionCheckbox Arrays... Pin
flicktom15-Dec-05 17:48
flicktom15-Dec-05 17:48 
AnswerRe: Checkbox Arrays... Pin
flicktom15-Dec-05 18:26
flicktom15-Dec-05 18:26 
AnswerRe: Checkbox Arrays... Pin
J. Dunlap15-Dec-05 18:26
J. Dunlap15-Dec-05 18:26 
QuestionHit testing problem Pin
t800t815-Dec-05 15:44
t800t815-Dec-05 15:44 
AnswerRe: Hit testing problem Pin
Heath Stewart15-Dec-05 21:35
protectorHeath Stewart15-Dec-05 21:35 
GeneralRe: Hit testing problem Pin
t800t815-Dec-05 22:01
t800t815-Dec-05 22:01 
Question[URGENT] REGEX question Pin
Sam 200615-Dec-05 15:20
Sam 200615-Dec-05 15:20 
hello, i have a string that i need data to be extracted from, but i do not know much about regex. can someone please show me how to do this? thanks.

i start with this string:
[09.17.2005 15:22:58] VIOLATION (GAME INTEGRITY) #20006: ^r||^cS^rF^cO^r||^cSin^rner (slot #6) Violation (GAME INTEGRITY) #20006 [dfcbd87f99e62f4915732e0b26f804e9(VALID:78) 87.211.1.131:27960]
i need to extract the following information, and save it in a new string string1, string2, string3, etc.:
09.17.2005 15:22:58
always starts as 2nd character and ends as 20th character


GAME INTEGRITY
always starts as 33rd character, ends at first ) after it starts


20006
always starts 3 characters after the (GAME INTEGRITY), and is 5 digits long


^r||^cS^rF^cO^r||^cSin^rner
name, always starts 2 characters after the 20006, and ends at the (slot #


dfcbd87f99e62f4915732e0b26f804e9
32-digit long GUID, starts at 2nd character after the 2nd (last) #2006 (or 5 digit ID)


87.211.1.131
the ip, starts 1 character after (VALID:78) where 78 is a number between 1 and 9999


thanks for the help, hopefully there is a way of doing this.
sam kline

<a href="http://dying.about.com/gi/pages/poll.htm?poll_id=2068629450">YES</a>

AnswerRe: [URGENT] REGEX question Pin
Christian Graus15-Dec-05 16:12
protectorChristian Graus15-Dec-05 16:12 
Questionopen an executable file on remote machine using WMI Pin
Erick Shuai15-Dec-05 15:12
Erick Shuai15-Dec-05 15:12 
AnswerRe: open an executable file on remote machine using WMI Pin
Dave Kreskowiak15-Dec-05 16:22
mveDave Kreskowiak15-Dec-05 16:22 
QuestionExists an interface for Parse(string value) method and ToString(string format)? Pin
machocr15-Dec-05 14:21
machocr15-Dec-05 14:21 
AnswerRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
[Marc]15-Dec-05 14:46
[Marc]15-Dec-05 14:46 
GeneralRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
machocr15-Dec-05 17:31
machocr15-Dec-05 17:31 
GeneralRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
S. Senthil Kumar15-Dec-05 20:45
S. Senthil Kumar15-Dec-05 20:45 
GeneralRe: Exists an interface for Parse(string value) method and ToString(string format)? Pin
machocr16-Dec-05 10:47
machocr16-Dec-05 10:47 
QuestionATTACHING DATABASE FILE Pin
Bagie15-Dec-05 14:08
Bagie15-Dec-05 14:08 
AnswerRe: ATTACHING DATABASE FILE Pin
Curtis Schlak.15-Dec-05 15:21
Curtis Schlak.15-Dec-05 15:21 
GeneralRe: ATTACHING DATABASE FILE Pin
Bagie16-Dec-05 12:52
Bagie16-Dec-05 12:52 
GeneralRe: ATTACHING DATABASE FILE Pin
Curtis Schlak.17-Dec-05 4:34
Curtis Schlak.17-Dec-05 4:34 
GeneralRe: ATTACHING DATABASE FILE Pin
Bagie17-Dec-05 11:12
Bagie17-Dec-05 11:12 
GeneralRe: ATTACHING DATABASE FILE Pin
Curtis Schlak.19-Dec-05 18:06
Curtis Schlak.19-Dec-05 18:06 
QuestionFrom Bagie [ Important ] Pin
Bagie15-Dec-05 13:30
Bagie15-Dec-05 13:30 
AnswerRe: From Bagie [ Important ] Pin
enjoycrack15-Dec-05 13:32
enjoycrack15-Dec-05 13:32 
GeneralRe: From Bagie [ Important ] Pin
Bagie15-Dec-05 13:38
Bagie15-Dec-05 13:38 

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.