fancy regex. :+1: 

if you would like to make one regex expression, you could use this:

```ruby
while !query.match(/[a-zA-Z]+|\d+/) 
  # translates to "continue to run block of code until one or more letter or digit character exists in 'query'"
  ...
end
```

Then you can rid of `loop` and `break`