I need to extract words that contain digits.
ex:-
Input - 3909B Witmer Road. Niagara Falls. NY 14305
Output - 3909B and 14305
This is the simplest regex I could come up with that can handle words that have a mixture of letters and digits:
(\w*\d[\w\d]+)
So this will match your desired words, plus it would match 'abc123xyz'. Try it yourself.