I am new to regex and can't figure out how to solve this:
I need regular expressions that only allow numbers, lettersand /. I wrote this:
/[^a-zA-Z0-9/]/g
I think it’s possible to disable the first one /, but I don’t know how to do it.
therefore #/register/step1it becomesregister/step1
Who knows how I can get this result?
Thank!
source
share