c# - Regex match alphanumeric in any part of query -
can me creating regex function following ? problem numbers/alphanumeric may come in part of query well.
string = 1942 ng12 bagel cream; output = 1942 ng12
this should work you, may multiple answers.
([^ ]*[0-9]+[^ ]*)
it work things this:
string = 1942 bagel ng12 cream output = 1942 ng12
Comments
Post a Comment