• Login
Community
  • Login

Help with Replace

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 147 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    Otto Scho
    last edited by Otto Scho Mar 2, 2021, 9:32 AM Mar 2, 2021, 9:29 AM

    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
    Toti

    E 1 Reply Last reply Mar 2, 2021, 10:25 AM Reply Quote 0
    • E
      Ekopalypse @Otto Scho
      last edited by Ekopalypse Mar 2, 2021, 10:25 AM Mar 2, 2021, 10:25 AM

      @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.

      1 Reply Last reply Reply Quote 4
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors