Regex To Match A Full Sentence

Category: Strings

A regular expression to match full sentences (end with a full stop (.), question mark (?), or exclamation mark (!).).

/([^\.\?\!]*)[\.\?\!]/

Matches:

  • A regular expression to match full sentences.
  • A regular expression to match full sentences. A string Regular Expression.

Non-matches:

  • A regular expression to match full sentences

See Also:

Rete This Regex
Sending
User Review
0 (0 votes)

Expression Flags

Flags Description
i Ignore case sensitive.
g Allows global search.
m Allows multiline search.