title: inout String is not convertible to String in Swift 3 range
body: <p>I have the following code that works fine in Swift 2:</p>
  
  <pre><code>let myModifiedString = myOriginalString.replacingOccurrences(of: "#(?:\\S+)\\s?",
              with: "",
              options: .regularExpression,
              range: Range(myOriginalString.characters.indices))
  </code></pre>
  
  <p>I am busy upgrading my code to Swift 3, however, and I get the error 'inout String' is not convertible to type 'String'.</p>
  
  <p>The error occurs on myOriginalString.characters.indices.</p>
  
  <p>I saw that Swift 3 made some changes to how ranges are implemented and also to some String functionality. I just can't seem to find a succinct solution to resolve the problem and convert this statement to proper Swift 3 syntax. What is the proper Swift 3 syntax for the statement?</p>