How to check whether a string contains special character in ruby. If I get regular expression also it is fine.
Please let me know
"foobar".include?('a') # => true