• Hello. I have problems to replace a search-text with more than one line. What I must search for my example? I would like remove all “data Style”-Definition from the content-side:

    <style>
    .dataStyle{
      display: inline-block;
      text-align: center;
      box-shadow: 0px 0px 10px silver;
      border-color: #adadad;
      width: 290px;
      margin-right: 30px;
    }
    </style> 
Viewing 2 replies - 1 through 2 (of 2 total)
  • Try .dataStyle{[^}]*}\n at your own risk.

    KAPman

    (@kapman)

    \R finds ONE line break
    \R with dot-all ticked, finds multiple line breaks

    For example, /Duration(.*)\R(.*)Bergerac/ finds adjacent pages that have “Duration” on a page followed by “Bergerac” on the next page.

    However, /Duration(.*)\R(.*)Bergerac/ finds all pages that have “Duration” followed by “Bergerac” when dot-all is ticked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with multi-lines’ is closed to new replies.