Regex Matches not working as excepted
Posted
by Eibx
on Stack Overflow
See other posts from Stack Overflow
or by Eibx
Published on 2010-03-23T20:59:23Z
Indexed on
2010/03/23
21:03 UTC
Read the original article
Hit count: 291
Hi StackOverflow,
I'm trying to group the following string into three groups.
0:0:Awesome:awesome
That being "0", "0" and "Awesome:awesome"
Using this regular expression:
^([0-9]+)\:([0-9]*)\:(.*)$
It works fine on online regex services: http://rubular.com/r/QePxt57EwU
But it seems like .NET doesn't agree.
© Stack Overflow or respective owner