arielle
Apr 27th, 2006, 10:20 PM
1) I have a large document containing lots of variable characters within square brackets(see below) I need a macro function to delete all the carachers within the brackets. All of them!
Samples:
['aenottdain, -nad-]
[ainoma'listik]
[,8eno:'gaenik]
...and they vary tremendously. The good news is they are in square brackets so I guess they may be deleted without affecting the rest of the document.
2)..and if I can dare to ask for more...is it possible to have all the words before the bracket [ (no matter how long they are) in bold and then everything after the same bracket [ to go one line bellow, and then finally to move onto next paragraph and do the same...and this to go on automatically for the rest of the document.
Present status:
xxxx yyyy [ ] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
xxxxxxx-yyy [ ]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
I need the above to go like this
xxxx yyyy
[ ] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
(space)
(space)
xxxxxxx-yyy
[ ]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
By the way, I'm trying to do a sort of glossary and your help cand save me lots of time and headaches.
cheers.
Samples:
['aenottdain, -nad-]
[ainoma'listik]
[,8eno:'gaenik]
...and they vary tremendously. The good news is they are in square brackets so I guess they may be deleted without affecting the rest of the document.
2)..and if I can dare to ask for more...is it possible to have all the words before the bracket [ (no matter how long they are) in bold and then everything after the same bracket [ to go one line bellow, and then finally to move onto next paragraph and do the same...and this to go on automatically for the rest of the document.
Present status:
xxxx yyyy [ ] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
xxxxxxx-yyy [ ]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
I need the above to go like this
xxxx yyyy
[ ] xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
(space)
(space)
xxxxxxx-yyy
[ ]xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
By the way, I'm trying to do a sort of glossary and your help cand save me lots of time and headaches.
cheers.