How to add a space in the regular season ^[A-Za-z0-9\ \_\-\.\/]+$)?

^[A-Za-z0-9\ \_\-\.\/]+$) - I then use a backslash and a space to indicate a space, it seems to work in php, but something tells me that this is not correct. Tell me how can I correctly insert \s
Thank you!
July 8th 19 at 15:58
1 answer
July 8th 19 at 16:00
Solution
\ \f\n\r\t\v\ is equivalent to \s

Find more questions by tags Regular expressions