I have written a regex to match from locale="en" to date slot="164" but my regex is not matching multiple new lines. Please advice.
regex
locale="en"\s>\n<string slot="157">(.*|\n)*slot="164"
matching string
<case id="1" casebase="1" name="K" locale="en" >
<string slot="157"><value>1asw</value></string><enum slot="12"><value id="1" name="Incomplete" /></enum><integer slot="9963"><value>2</value>
</integer><string slot="9960"><value>
07/12/18 16:51 a created with status Incomplete by a <br/>
</value></string><string slot="9961"><value>awd</value></string><string slot="160"><value>awd</value></string><date slot="161"><value>2018-07-12T20:51:34</value>
</date><date slot="164"><value>2018-07-12T20:51:34</value>
</date></case>