Page 1 of 1

Matching an expression in a find

Posted: Tue Dec 18, 2001 9:19 pm
by Chad M. Kovac
I need to match All instances of :

<td anyotherstuff here>any Text Can be Here</td>

?

Can I further find the above where only the Any in "Any Text Can be Here" is not capitalized and then apply TitleCase to it so that:
<td anyotherstuff here>any Text Can be Here</td>

would become:
<td anyotherstuff here>Any Text Can Be Here</td>

???

Re: Matching an expression in a find

Posted: Thu Dec 20, 2001 3:45 pm
by Mark Schnitzius
Do a Replace (F8). Make sure "Regular Expression" is checked. Replace

<td\([^>]*\)>\(.\)\(.*\)</td>

with

<td\1>\u\2\3</td>

Re: Matching an expression in a find

Posted: Wed Dec 26, 2001 2:40 pm
by Chad M. Kovac
That gives me "unmatched ) or }" error.. ?