Sir, I have stored data in database which string contains both alphanumeric ..... but while rendering it i have to show only numbers not text.. can i split text and number and show in textbox?
You can extract numbers from string using Regular Expressions
string s = "60ML"; string no = System.Text.RegularExpressions.Regex.Match(s, "\\d+").Value;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.