fork(16) download
  1. puts "hello I\r\nam a test\r\n\r\nstring".gsub(/\R+/, ' ')
Success #stdin #stdout 0.02s 9704KB
stdin
Standard input is empty
stdout
hello I am a test string