\S+ replaces . on regex

makes more robust