String Ruby

"this is a test".gsub(/t/, 'X')