title: Auto Increment URL ID numbers within a Range
body: <p>I need to be able to do a sort of Find and Replace within an HTML document where the search would be for all numbers within a certain range. But I need each number to be replace with an increment of itself. For example, I have a list of links within a page that all look like this:</p>
  
  <pre><code>.../click.asp?aid=702134570
  .../click.asp?aid=702134571
  .../click.asp?aid=702134572
  </code></pre>
  
  <p>Every day those links need to be updated with new links that are auto generated for us. The only part of the URL that changes are the numbers at the end, and they would all increase by the same amount. So if the next lot of links generated looked like this:</p>
  
  <pre><code>.../click.asp?aid=762184547
  .../click.asp?aid=762184548
  .../click.asp?aid=762184549
  </code></pre>
  
  <p>So every link 'aid' would increase by exactly 60049977. The problem is this number would change every day and obviously so would the range it would search within. I know Dreamweaver find and replace option supports regular expressions and I feel that this might be possible this way, but after an extension search I haven't found anything and I'm not familiar enough with regular expressions to know what to try. Thank you in advance.</p>