I'm wondering if I have an issue with the actual TitleCasing RegEx-Function?
For this fragment ...
Code:
<body>
<h1>TEST1 TEST1 TEST1 TEST1 TEST1 </h1>
<p>NOW IS THE TIME and this should remain mixed case</p>
<h1>TEST2 TEST2 TEST2 <br/><br/>TEST3 TEST3 </h1>
<p>NOW IS THE TIME and this should remain mixed case</p>
<h1>TEST4 <i>TEST4 TEST4 TEST4</i> TEST4 </h1>
</body>
... my Find expression
Code:
\<([Hh][1-6])\>.*?\</\1\>
... will find step through and highlight just the three H1 open/close pairs and what is between them (#2 in picture), but a Replace doesn't do anything except make the <h into a <H (#1 in picture)
It would seem to me that if the built in Title Case would ignore tags and what's in them, and just act on the 'Find' it should / would work for any embedded tags inside Hx pairs not just <br/>
Am I misunderstanding?