I'm using IE. I tried using gsub!(/Â/, ""), but I couldn't remove the
remaining spaces. It took a long time, but I think I figured it out
using this:

x = "3       Jubitz Travel Center              Â
Portland,OR"
b = x.gsub(x[/(\d+)(\b[^0-9A-Za-z]{1,}\b)/], '') # gets rid of the
beginning number/funky chars
puts b.gsub(b[/(\b[^0-9A-Za-z]{1,}\b)(\w+)(,..)\Z/], '') # gets rid of
the second set of funky chars and city/state



On Mar 9, 3:36 pm, Ethan <notet...@gmail.com> wrote:
> Is this in IE or firefox?

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to