I made it:
http://www.macrodroid.com/macrostore?id=9698
If link fails, type id=9698 into the MacroDroid store. Let me know if anuthing is unclear or there are any bugs. Remember to enable the action 'Send SMS'. Click it and choose enable then press the tick or plus button to save it.
A big thanks Jacob for taking your time to configure this macro!!!
I tried the macro with the below test sentences, and the second sentence was picked first for SMS
------------
This is my sentence1,this is my sentence2
-------------
There are few things which were not clear -
As of now I can see 3 local variables - sentences, SmsContent, SmsNumber
1. In the first text manipulation, from sentences variable we are replacing , with \n and putting it back to sentences.
So on the second day, won't it run again and look for , to replace?
2. In the second text manipulation, I'm unclear what the .+ regex do?
3. In the third text manipulation, why are we replacing the sentences with SmsContent?