In OpenOffice / LibreOffice Calc, the following regex
matches negative integer values:
^-[0-9]*
This allows you to simply replace every negative int value by any value in a single step. Don't forget to enable regex searching in the search options: