2 Replies Latest reply on Aug 20, 2015 2:42 PM by nodr99

    Multi Line Paragraph Grep HTML Highlighting




      I've an problem with grep. I would like to use grep to format my HTML Code in InDesign, but the grep command:  [<][!][-][-].*[>].*(~b|.)*[<][!](.*)[-][-][>] did not work. My problem are the multilines of my sample code:


      <!DOCTYPE html>




      //The Problem Part:

        <!--[if lt IE 9]>

             <script src=“https://“></script>

             <script src=“https://“></script>


      //End of the problem Part



        Hello World



      If I wrap all 4 lines into 1, The code: [<][!][-][-].*[>].*[<][!](.*)[-][-][>] works.

      I hope you can help me.