Help with Replace

  • Dear Community,
    I need to Do the following in Notepad:

    I want to use the Replace to delete everything after FOG
    FROM: (ARGF41FOG06271)
    TO: ( ARGF41)
    how can I do such things?
    It is just like in Excel: Replace FOG* with empty.
    Thank you in Advance

  • @Otto-Scho

    In the search dialogue, check the regular expression checkbox and use the following search term FOG.+?\b to replace it with an empty string.

Log in to reply