How to remove outer match brackets?
Posted: Sun Feb 14, 2010 7:30 pm
Is there a way to remove wrapping brackets with one search replace command? Specifically, I would like to replace all occurances of with
where XXXXX is variable text. So for example:
I have a large file that has a lot of these patterns and being able to do a master search/replace would be a huge timesaver.
Thanks,
Jack
Code: Select all
htp.p (htf.XXXXX);Code: Select all
htp.XXXXX;Code: Select all
target : htp.p (htf.bodyopen);
becomes: htp.bodyopen;
target : htp.p (htf.tableopen (cattributes => 'border="0" cellspacing="0" cellpadding="0" width="100%"'));
becomes: htp.tableopen (cattributes => 'border="0" cellspacing="0" cellpadding="0" width="100%"');
target : htp.p (htf.tablerowopen (cvalign => 'middle'));
becomes: htp.tablerowopen (cvalign => 'middle');
Thanks,
Jack