fork download
  1. input="This text contains 'single-quotes'.";
  2.  
  3. pattern=/'.*'/;
  4.  
  5. print(String.replace(input, pattern, "nothing"));
Success #stdin #stdout 0.01s 10860KB
stdin
Standard input is empty
stdout
This text contains nothing.