Can you use sub() to replace only a specific section of the pattern matched?
so in this example, i want to look for all cases where an ellipse is in between letters/numbers and add a space after the ellipse.
input = “hello…world”
output = “hello… world”
what to change from: sub(r’w…w’, “… “, input)
New contributor
abel ard is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.