What are you looking for from the RE?  A quick one would be

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

Which should find 4 multi-digit numbers with comma's between them

Chris Erskine
 
EDS Consulting Services
Colorado Springs, CO 
 
Phone: 719-265-5962
Cell: 719-640-6488


> -----Original Message-----
> From: Radha Sangal [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 04, 2005 9:38 AM
> To: Ant Users List
> Subject: regular expression
> 
> Could someone help me build regular expression for a string like this
> 1,6,3,2.
> 
> 
> 
> I am getting error if I write it like this String patternStr =
> "([0-9]+","+[0-9]+","+[0-9]+","+[0-9] + )";


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to