elm.utilities.parse.replace_multi_dot_lines

replace_multi_dot_lines(text)[source]

Replace instances of three or more dots (…..) with just “…”

Parameters:

text (str) – Text possibly containing many repeated dots.

Returns:

str – Cleaned text with only three dots max in a row.