Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Search and Replace with Wildcard

New Here ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

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.

Views

563
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

Have a look at David Powers' article Using regular expressions – Part 1: Understanding the basic building blocks | Adobe Developer Connec...

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 11, 2018 May 11, 2018

Copy link to clipboard

Copied

LATEST

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,

^ _ ^

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 11, 2018 May 11, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines