title: regex: Replace a character in a match. No matter what position it has
body: <p>I have an ASCII table that looks like this:</p>
  
  <pre><code>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  | |NUMBR |IDENT     |YEAR |STS  |WHES |APA  |TAMS |AMOUNT          |ANOTHERAM       |DESCIB                                             |ACCO       |NUM         |ID          |
  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  | |99    |5471140100|2174 |002  |31   |S    |T    |         245,42 |         245,42 |*SOMEING INFORMATION 084112-378515|What. Estimation|000038780  |            |0001038780  |
  | |99    |5471140100|2174 |002  |31   |S    |T    |         245,42 |         245,42 |*SOMEING INFORMATION|084112-378515-What. Estimation|000038780  |            |0001038780  |
  | |99    |5471140100|2174 |002  |31   |S    |T    |         245,42 |         245,42 |*SOMEING|INFORMATION 084112-378515-What. Estimation|000038780  |            |0001038780  |
  </code></pre>
  
  <p>My problem is, that in the column 'DESCIB' there are sometimes pipes that are handled like delimiters (if I import this file in python), but they aren't.</p>
  
  <p>I want to replace them with a blank space, but my problem is that I don't know the exact position of the "|". I only know that the column 'DESCIB' is 51 characters long.</p>
  
  <p>I tried regex in Notepad++, but I have no idea how to do it.</p>
  
  <p>The final result should look like this:</p>
  
  <pre><code>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  | |NUMBR |IDENT     |YEAR |STS  |WHES |APA  |TAMS |AMOUNT          |ANOTHERAM       |DESCIB                                             |ACCO       |NUM         |ID          |
  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  | |99    |5471140100|2174 |002  |31   |S    |T    |         245,42 |         245,42 |*SOMEING INFORMATION 084112-378515 What. Estimation|000038780  |            |0001038780  |
  | |99    |5471140100|2174 |002  |31   |S    |T    |         245,42 |         245,42 |*SOMEING INFORMATION 084112-378515-What. Estimation|000038780  |            |0001038780  |
  | |99    |5471140100|2174 |002  |31   |S    |T    |         245,42 |         245,42 |*SOMEING INFORMATION 084112-378515-What. Estimation|000038780  |            |0001038780  |
  </code></pre>
  
  <p>Thank you in advance.</p>
  
  <p>@EDIT: I tried this at first, but the problem is that I have to know the position of the "|":</p>
  
  <pre><code>(\*.{33})\|(.{15}\|)
  </code></pre>
  
  <p>Then I tried something like this: <code>(\*.{50})(?![|])</code>
  The idea behind it is: Look for a string that starts with an "*" and has another 50 characters. In that match replace any pipes "|". However, that is not the correct usage, but I don't know how to do it.</p>