Updated Regex expression

Added precision for "#"(sharp), "."(dot) and " "(white spaces) followed by anything. White space followed by nothing will not be captured