fork(1) download
  1. text="stack overflow... is a popular website."
  2. gsub("[[:space:]]*(\\.+)[[:space:]]*", " \\1 ", text)
Success #stdin #stdout 0.46s 79168KB
stdin
Standard input is empty
stdout
[1] "stack overflow ... is a popular website . "