check if string contains only alpha numeric characters

I need to check if a string contains only alpha numeric characters, no
space, no other special characters, looks i need a regular expression,
but too poor in this area, any idea how to do this? thanks.

I need to check if a string contains only alpha numeric characters, no
space, no other special characters, looks i need a regular expression,
but too poor in this area, any idea how to do this? thanks.

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Ask a Question