I'm trying to replace any group of two or more periods with just a single period. I suspect the + operator is involved, but I've had nothing but sorrow trying to make the expression using that... So I thought as an experiment I would try to replace just 3 periods with one period. The nonsense below is what I came up with, and of course it doesn't work.
OutNameNoExt:= RegExReplace(OutNameNoExt,"\.\.\." , ".")
Or even better, can I alter this existing expression
OutNameNoExt:= RegExReplace(OutNameNoExt,"[^a-zA-Z0=9_-]" , ".")
so that it never produces more than one period in a row?
Help?