Skip to main content
New Participant
May 10, 2018
Question

Search and Replace with Wildcard

  • May 10, 2018
  • 2 replies
  • 610 views

I'm sure this has been answered but I can't figure it out. I have an XML file in which I have no control on how the XML is generated.   It has a different tag for each product section but they all start with Product_  Example  <Product_ALSSFAAFR1.0_1>  or  <Product_CSCPTC1.0_2> etc.  I need them to all say the same thing so I need to change them all to Product_Group but I can't figure out the syntax to select the whole tag and replace it with the new tag. Thank you for all and any help.

    This topic has been closed for replies.

    2 replies

    New Participant
    May 11, 2018

    Okay, I finally figured out.  My biggest challenge was trying to find where to turn on "Use Regular Expressions".  Since they changed the Find window, I've been a tad lost.  Thank you.

    BenPleysier
    Adobe Expert
    May 10, 2018
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    WolfShade
    Brainiac
    May 11, 2018

    Every time I do a search for anything RegExp, I almost always see the haters and detractors venting about how one should never, ever use RegExp to search HTML or XML.  I _LOVE_ RegExp!  So robust, so useful, so wonderful.

    Haters need to stop hating and start helping.    Thank you for promoting RegExp, Ben.

    V/r,

    ^ _ ^