TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
yokzu
NA
306
0
Regex problem
May 10 2011 7:06 AM
Hello everyone,
I just want to filter decimal characters in rows. Rows are below;
------------
123,345,3,45,3
2,3,6,8,88,90
23,55,767,77
...
-----------
As you see there are commas between decimal numbers. I tryed the regex code below but it is getting me plus 1 value (and it is null).
--------
string regx = @"[\d*]";
Regex rrgx = new Regex(regx);
--------
For examle if a row is like this; and there will be 8 values when I try to get each sample via "MatchCollection"
------
12,23
-----
Which regular expression should I try to get these decimal numbers?
Reply
Answers (
1
)
I cant write to text file
How to get properties from another class?