How to verify that, using regex, all characters in a string are digits? -


how can verify every character in string 0-9 digit? example: 1343151234234 valid 2342343abc34234 not valid. thank you.

^\d+$

using 'singleline' option (in c# regexoptions.singleline).


Comments

Popular posts from this blog

sql server - NHibernate incorrectly creating ManyToMany table - Cannot define PRIMARY KEY constraint on nullable column error -

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -