1

I need to delete everything between {} example below

Before:

ParticleEffects
{
    animation = "distort"
        0 = "mid Metadata/Effects/misc/distort/distort.pet"
}

After:

ParticleEffects
{
}

the } bracket has to be below { they can't be next to each other like this {} or else it won't work.

1

solution

  • Find what: \{(.*?)\}
  • Replace with: \{\n\}
  • Search Mode: Regular expression
  • [x] matches newline (must be selected)

info

  • "{" and "}" must be escaped with "\"
  • "\n" inserts newline character
| improve this answer | |
  • works thank you for quick help. – Neathis Jun 27 '19 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.