To exclude one number

3 views
Skip to first unread message

smartscottiedog

unread,
Sep 16, 2009, 1:45:37 PM9/16/09
to Regex
I have the following comma separated numbers.

[0-9]+(,[0-9]+)*

I would like to, in addition, to exclude one number between comma.
For example..

1,2,3,35,53

I would like to exclude 35, just one number (any number of digits) in
the range.

The string may contain space between number and the comma.

TIA.
Reply all
Reply to author
Forward
0 new messages