英語の英数字のみに一致する正規表現を作成したいと思いますが、Ruby では (可能であれば JS でも) 孤立した数字を無視 (または破棄) します。
例:
1) I would like the following to be matched:
- 4chan
- 9gag
- test91323432
- asf5asdfaf35edfdfad
- afafaffe
But not:
- 92342424
- 343424
- 34432 and so on..
The above is exactly what I would want.
Edit: I deleted the second sub-question. Just focus on the first one, thank you very much for your answers!!
Sorry, my regex skills aren't that great (hence this question!)
Thank you.