title: using exclusive ranges with regular expressions Ruby
body: <p>How can i make this code into one line with a regular expression that looks for exclusive ranges? </p>
  
  <p>I have used a regular expression with inclusive ranges in this:</p>
  
  <pre><code>word = "square"
  if word.include?("qu")
      word2=word
      two = word.slice!(word[/.*qu/])
      one = word2.slice(word)
      puts one + two + "ay"
  end
  </code></pre>
  
  <p>But I feel like I have not made use of either regular expressions to their potential or ruby string methods to their full potential.</p>
  
  <p>thanks</p>