New Lines to Commas

Convert text separated with new lines to text separated with commas.
Input:
Settings:
Result:

See Also: