I\'m after a regex ( php / perl compatible ) to get the first sentence out of some text. I realize this could get huge if covering every case, but just after something that
If sentence is "line" then simply match the first ^.* from a chunk of text. By default the DOT does not match new line characters.
^.*
If it's really the first sentence, do something like this: ^[^.!?]*
^[^.!?]*