Quantcast
Channel: DataSource Controls - SqlDataSource, ObjectDataSource, etc.
Viewing all articles
Browse latest Browse all 956

Detect Capital Letters Using Regular Expression

$
0
0

Hi all,

i'm using the code below to detect number in string but i also want to detect capital letter in string what is the regular expression for that...?

I've google and tried  many but no luck so far. Need help from expert here. Thanks.  

If isAllLetters = Regex.IsMatch(StringSetCheck, "^[a-zA-Z]+$") Then

Response.Write("Number Detected")

Else
Response.Write("All String")
End If


Viewing all articles
Browse latest Browse all 956

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>