![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#2
|
||||
|
||||
|
You don't need RegEx - or even a macro - for that. A wildcard Find/Replace, with:
Find = <th[eis]{1,2}> Replace = that will do. That said, it's not apparent how your font sizes or reference to titles (both of which can be accommodated in a wildcard Find/Replace) have to do with what you're doing, as your code discloses nothing about that.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Tags |
| regex |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Section numbering screwed up
|
scorpio_oz | Word | 7 | 04-06-2016 06:02 AM |
| Macro help regex | subspace3 | Word VBA | 1 | 10-15-2014 09:53 AM |
Convert RegEx to Word (Devanagari Font Find/Replace)
|
gasyoun | Word VBA | 9 | 04-12-2013 04:15 PM |
2007 recent update screwed up view
|
abrad99 | Office | 5 | 05-07-2011 09:55 PM |
| Regex in Word: Replaced strings are in disorder | chgeiselmann | Word | 0 | 04-26-2009 11:33 AM |