Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

GREP to simplify Sub heads

Return to Member Forum

  • Author
    Posts
    • #1179757
      Mattie Wells
      Participant

      Hi again!

      I am trying to delete some content universally from subheads in a large document. I was able to use find and change to swap out most of the subheads. Each subhead has a different practice type in it and I want to delete them all, but they are different. Examples:

      START:

      Personal Impact Management Doing this Practice well includes being able to:
      Self-Management Doing this Practice well includes being able to:
      Role Reversal Doing this Practice well includes being able to:

      END: ALL WILL BE
      Doing this Practice well includes being able to:

      I was thinking a GREP would be able to help find and change but Im not sure what script to use

      Thanks for your help

    • #14324328
      Aaron Troia
      Participant

      I think something like this would work,

      Find: ^.+?(?=Doing this Practice well includes being able to:)

      and just leaving your “Change to:” field blank should remove all the text before “Doing…”

    • #14324327
      Mattie Wells
      Participant

      Thanks!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
Forum Ads