Need help to insert period at the end of each line if period does not exist.
Code: Select all
MsgBox % RegExReplace(Clipboard, "m).$",".")
Say no to 1 hour meetings
Do the Steve Jobs walk.
Visualize your success
Expectation:
Say no to 1 hour meetings.
Do the Steve Jobs walk.
Visualize your success.
Can somebody guide me how to check for a particular char OR word does not exist at end of the line.
I know I can do this thing with read file, A_LoopReadLine, and check for StringRight, and if it does not containt period then just add after A_LoopReadLine, but I want to do it with regex believe it will be much shorter and helpful in the future.
Thanks in advance for your help.