TOKENS = ["of", "/"]re = /\d+[[:space:]]*#{Regexp.union(TOKENS)}[[:space:]]*\d+/puts rename = "10F 2017"puts name.gsub!(re, '#')
Standard input is empty
(?-mix:\d+[[:space:]]*(?-mix:of|\/)[[:space:]]*\d+)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!