Macro request
Posted: 2014-05-07 01:54:58
Dear NW Pro community,
I am not skilled enough to write macros, therefore I would appreciate it very much if one could solve the following problem for me.
I have a very large document with sequences in it like
[return]
A[space]B[space]C[tab][text]
[return]
A[space]B[space]C[tab][text]
[return]
A[space]B[space]C[tab][text]
[return]
and so on
A, B, C are single characters, letters or strange glyphs like ʕ,Ṭ, ʔ, Ǧ , Ḏ , Ḏ̣ (which is a combined sign) and suchlike. Not necessaryly there are exact 3 characters between, [return] and [tab], maybe there are only 2 characters or more than 3 characters seperated by a [space], but not more than 9 characters.
I am looking now for 2 macros. The first one should remove all spaces in these sequences between the characters.
The second one should afterwards do the opposite, what means to add spaces in the sequences which are now without spaces.
Thanks for help!
I am not skilled enough to write macros, therefore I would appreciate it very much if one could solve the following problem for me.
I have a very large document with sequences in it like
[return]
A[space]B[space]C[tab][text]
[return]
A[space]B[space]C[tab][text]
[return]
A[space]B[space]C[tab][text]
[return]
and so on
A, B, C are single characters, letters or strange glyphs like ʕ,Ṭ, ʔ, Ǧ , Ḏ , Ḏ̣ (which is a combined sign) and suchlike. Not necessaryly there are exact 3 characters between, [return] and [tab], maybe there are only 2 characters or more than 3 characters seperated by a [space], but not more than 9 characters.
I am looking now for 2 macros. The first one should remove all spaces in these sequences between the characters.
The second one should afterwards do the opposite, what means to add spaces in the sequences which are now without spaces.
Thanks for help!