$stdout.write("my dog has fleas".gsub(/(\w)\w+(\w)/, "\\1\\2"))
Standard input is empty
my dg hs fs
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!