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
Post a Comment