I am looking for a regex that matches first word in a sentence excluding punctuation and white space. For example: \"This\" in \"This is a sentence.\" and \"First\" in \"First,
You can use this regex: ^[^\s]+ or ^[^ ]+.
^[^\s]+
^[^ ]+