Trying to get a lazy regex match of everything up until the first period of a sentence.
e.g. Just want to get \"jack and jill.\" from this sentence: \"jack and j
/^([^.]+)/
Let's break it down,
^ is the newline anchor
^
[^.] this matches any character that's not a period
[^.]
\+ to take until a period
\+
And the expression is encapsulated with () to capture it.