SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to end check whether your sentence ends with "." then you have to add [\.\]$ to the end of your pattern.