.NET Regex - need matching string for parsing...
Posted
by TomTom
on Stack Overflow
See other posts from Stack Overflow
or by TomTom
Published on 2010-04-19T10:58:20Z
Indexed on
2010/04/19
11:13 UTC
Read the original article
Hit count: 145
Hello,
I am a regex idiot and never found a good tutorial (links welcome, as well as a pointer to an interactive VS2010 integrated editor).
I need to parse strings in the following form:
[a/b]:c/d
a, b: double with "." as possible separator. CAN be empty
c: double with "." as separator
d: integer, positive
I.e. valid strings are:
[/]:0.25/2
[-0.5/0.5]:0.05/2
[/0.1]:0.05/2
;) Anyone can help?
Thanks
© Stack Overflow or respective owner