regex find all words beginning with code example Example: regex all starting with #check if word starts with "test" ^test.*$