Search code examples
regexgoogle-sheetsreplacere2find-replace

Delete text starting on a specific character until the end


I'm using Google Sheets and I have this dataset with over 100 000 lines, and in one specific column (F) I want to delete all text starting from the dollar sign until the end. How do I do it?

dataset with the collumn I want to edit

For instance,

:
2.182.398
:
$28.34M 

should become

:
2.182.398
:

Solution

  • press CTRL + H

    type in:

    (\$\d.+)
    

    and hit Replace all:

    0