match a string beginning with s reg code example Example: regex all starting with #check if word starts with "test" ^test.*$