What would a regex string look like if you were provided a random string such as :
"u23ntfb23nnfj3mimowmndnwm8"
and I wanted to filter out certain characters such as 2, b, j, d, g, k and 8?
So in this case, the function would return '2bjd8'
.
There's a lot of literature on the internet but nothing straight to the point. It shouldn't be too hard to create a regex to filter the string right?
ps. this is not homework but I am cool with daft punk