How can I extract alphanumeric characters only from a string?
Is it possible with
I think it can somehow be possible to do this in batch. I don't know how and I'm sure it's painful, not maintainable and ugly. But, as an alternative you can use a vbscript to do the job (also built-in and must be available in every OS).
As you can see it uses regular expression for the job which you can change fairly easy if the scope of search-string changes.