RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Array<Integer>
Expression
^(?:\d+,\s*)*\d+\s*$
Description
Checks if the target string is an array consisted of integer numbers or not. An integer array string means that a series of integer numbers that separated by comma (,)
Matches
7 | 11,9,7,5, 1 ,3 | 2 , 6
Non-Matches
Hello | 9,,,5,1 | 2,
Author Rating: Not yet rated. Jeff Tian
Source http://zizhujy.com/blog/post/2012/03/04/A-quick-tour-to-Regular-Expression-for-testers.aspx
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2018, RegexAdvice.com | ASP.NET Tutorials