Using wild cards in map column

DataGraph Forums Technical Support Support Desk Using wild cards in map column

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4585
    kourosh kalayeh
    Participant

      Hi,

      Is there anyway to use wild cards in Map column?  I have files called “v01b01r01_deltaP0”, …, “v01b03r03_deltaP105”.  I want to extract the “deltaP” values (i.e., 0, 5, … 105) from file names.  The map command works but, there are so many of them and it just does not make sense to specify them one by one.  Ideally, I am looking for something like below;

      *deltaP0 –>0
      *deltaP5–>5
      *deltaP10–>10
      ….

      Thank you very much
      Kourosh

      #4587
      kourosh kalayeh
      Participant

        Also, it seems that wildcards do not work in “Find and Replace” functionality.  Is that right? Or am I missing something?

        Thanks
        Kourosh

        #4590
        david
        Moderator

          This would be a good addition to the map action.  I’ve thought about that in the past, and will work on adding that once 4.6 comes out.  It will then show up in the 4.6.1 beta.  It should not be hard to add.

          Regarding the Find and Replace, that action does not accept regular expressions at this time.  That would be how that could be added, since the other is really a “file match” which doesn’t find a range that then could be replaced with something else.

          #4591
          kourosh kalayeh
          Participant

            Hi David,

            Great to hear that.

            I am not sure how hard it is to add the functionality of regular expression in Find and Replace but I think it would be an awesome feature.

            Thanks
            Kourosh

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.

          DataGraph Forums Technical Support Support Desk Using wild cards in map column