regex for sentence starting with character code example Example: regex all starting with #check if word starts with "test" ^test.*$