regex - Regular expression for match all words without numbers -
i have string:
" abalbal asldad 23 sadaskld 3123 adasdas " how match words, without numbers.. " \d* " can match first two, without others..
you can use regex:
/\b[^\d\w]+\b/g to match words no digits.
[^\d\w] match non-digit , (non-non-word) i.e. word character.
Comments
Post a Comment