@mohab [\S]+ means non space character and "." is a character so [\S]+ will allow multiple "."