ref https://stackoverflow.com/questions/10678823/regex-format-for-two-strings
array = ["happy","good"]
p array.map{|s|s.scan(/\b(hppy|good)\b/).join}
ref https://stackoverflow.com/questions/10678823/regex-format-for-two-strings
array = ["happy","good"]
p array.map{|s|s.scan(/\b(hppy|good)\b/).join}