View Single Post
 
Old 09-26-2023, 10:39 PM
Dave T Dave T is offline Windows 7 64bit Office 2013
Advanced Beginner
 
Join Date: Nov 2014
Location: Australia
Posts: 66
Dave T is on a distinguished road
Default Check if sentence ends with a full stop

Hello All,

I would prefer a macro to do this task as it will be incorporated into other macros.

I have the following sentence "No restrictions apply".
The first instance has a full stop/period after the word 'apply'.
The next instance does not have a full stop after the word 'apply'.

How can I find the sentence without the full stop/period and add a full stop/period to the end?

I have been trying various wildcard combinations, without success as most of my attempts keep adding extra full stops/periods to those sentences with existing full stops/periods.

Any suggestions will be appreciated.

Regards, Dave T

Last edited by Dave T; 09-27-2023 at 04:27 PM.
Reply With Quote