Regex to match first word in sentence

前端 未结 5 1238
花落未央
花落未央 2021-02-06 01:49

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,

5条回答
提交回复
热议问题