From: 7stud -- Date: 2011-08-14T05:45:57+09:00 Subject: Re: regex position error str = %Q[gisele !'_"9? bundchen] str.scan(/[^\w' -]/) do |match| puts match end --output:-- ! " ? -- Posted via http://www.ruby-forum.com/.