I learned one Regex to be able to detect sentences with the Oxford comma and sentences without. For example
for a sentence like the below
I went to the store and bought eggs, milk, apples, butter, and bread.
I will use
(?:\w+,\s+){2,}and\s+\w+
and for
I went to the store and bought eggs, milk, apples, butter and bread.
I will use
(?:\w+,\s+){1,}\w+\s+and\s+\w+.
It works fine in Ultraedit using Perl.
However, I am using a software called SDL Studio and that is a Cat tool (translation tool), and it can use Regex, but for some reason it is not accepting those Regex above. Can you please let me know any other Regex formula that might work well instead of the above, using a more standard Regex engine?