Menu
Hi,
For creating url’s I want to remove everything from the segment (to store in database) except alpha-numeric characters, underscores and dashes.
I have a regex for the above (/^([-a-z0-9_ -])+$/i) but I need a regex for all the other characters I think … or is there another solution?
Thanks!
Christophe