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

GREP: Changing <H1> Text </H1>

Community Beginner ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

So I am new to using GREP formatting. Is there a way to say:
"Change all things between <H1> and </H1> to character style Heading 1 (which I have defined)"?

There has to be a way to do this right? It's not <H1>\w</H1> (because that's just one 1 word) and it's not <H1>.*</H1> (I'm not really use how to repeat it).

Views

443

Translate

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

correct answers 1 Correct answer

Community Expert , Jul 15, 2018 Jul 15, 2018

If this is in InDesign, use this:

Find: <h1>(.+?)</h1>

Change: $1 with Header 1 style (use a paragraph style, not a character style.

Screen Shot 2018-07-15 at 4.56.48 PM.jpg

Votes

Translate

Translate
Community Expert ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

Please post the name of the program you use so a Moderator may move this message to that forum

-A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

Votes

Translate

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 Beginner ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

Oh sorry, I thought I posted in the InDesign CC forum

Votes

Translate

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 ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

If this is in InDesign, use this:

Find: <h1>(.+?)</h1>

Change: $1 with Header 1 style (use a paragraph style, not a character style.

Screen Shot 2018-07-15 at 4.56.48 PM.jpg

Votes

Translate

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 Beginner ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

Ok I was able to make that work!

Thanks so much!

Votes

Translate

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 ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

LATEST

Discussion moved from Adobe Creative Cloud to InDesign

Votes

Translate

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