I want to create input and add validation pattern to not allow spaces in input I found some solutions like this :
Validators.pattern(".*\\S.*[a-zA-z0-9 ]")
But problem with this pattern is that special charachters (č,ć,ž,đ,š...) are not included
So I need solution without blank (space) input but with special charachters
EDIT
For Example if someone insert only one or more spaces I must notice him.. But if he continue inserting some other charachters it's ok.
Example :
" " - not valid
" Ante Ereš" - valid