Function using regexp_replace to return values

I have a function that does an ASCII check and it cleans a string and returns all the ascii characters back. I have symbols(?) that are being returned now that have an ascii value but I definitely dont want them back. I guess I just want A-z 0-9 and then anything that may come in with a company name like ampersands, commas, dashes, etc....I looked at the character class POSIX values but not sure which one to use?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


add characters you want to keep inside the brackets but after the "^" character.

if you want dashes kept, then put them as the last character in the list to make sure they aren't interpreted as part of a range like 0-9

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jknj72Author Commented:
perfect thanks
jknj72Author Commented:
Thanks for your help
jknj72Author Commented:
what about the space character?
jknj72Author Commented:
oh I got it thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.