Community
    • Login

    regex help with EDI files

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 977 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.
    • Lan HuynhL
      Lan Huynh
      last edited by

      Need help with regex to replace a date sent on a DTP segment. Thanks in advance.

      FROM from file
      DTP472RD820180101-20180201
      DTP
      472D820180101

      TO
      DTP472D820180301
      DTP
      472D820180301

      Scott SumnerS 1 Reply Last reply Reply Quote 0
      • Scott SumnerS
        Scott Sumner @Lan Huynh
        last edited by

        @Lan-Huynh

        What’s with the erratic italicization in your data? Is there really * characters in there that are being “eaten” by this site? Hint: As you are composing, there is a preview window RIGHT THERE! Check it to make sure all is as intended before you hit submit.

        Lan HuynhL 1 Reply Last reply Reply Quote 1
        • Lan HuynhL
          Lan Huynh @Scott Sumner
          last edited by

          @Scott-Sumner

          Hi Scott,

          You are correct. Sorry, my first time posting. There are * characters missing

          Revision below

          FROM
          DTP*472*RD8*20180101-20180201
          DTP*472*D8*20180101

          TO
          DTP*472*D8*20180301
          DTP*472*D8*20180301

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