title: How to Match Tilde-Delimited Data Using Regex
body: <p>I have data like this:</p>
  
  <pre class="lang-none prettyprint-override"><code>~10~682423~15~Test Data~10~68276127~15~More Data~10~6813~15~Also Data~
  </code></pre>
  
  <p>I'm trying to use Notepad++ to find and replace the values within tag 10 (682423, 68276127, 6813) with zeroes. I thought the syntax below would work, but it selects the first occurrence of the text I want <strong>and the rest of the line</strong>, instead of just the text I want (<code>~10~682423~</code>, for example). I also tried dozens of variations from searching online, but they also either did the same thing or wouldn't return any results.</p>
  
  <pre><code>~10~.*~
  </code></pre>