regex - RegExp to search words starts with numbers and special characters only using C# -


i want perform search c# list object find products starts number or special characters only. looking regular expressions scenario.

please

assuming list list of string:

var newlist = yourlist.where(element => regex.ismatch(element, @"^[^a-z]", regexoption.ignorecase); 

it give sublist of elements doesn't start letter in range a-z.


Comments

Popular posts from this blog

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

wordpress - (T_ENDFOREACH) php error -

Using django-mptt to get only the categories that have items -