Forum: MemoQ support
Topic: Pesky spaces around tags after MT
Poster: Samuel Murray
Post title: @James
[quote]James Plastow wrote:
Find: (<.+?>)\s(\w)
Replace: $1$2
Find: (\w)\s(<.+?>)
Replace: $1$2 [/quote]
1. Use < and >.
2. Yes, but you don't want *all* spaces next to tags to be removed. You only want spaces to be removed that should not be there. If a space is present in the source text, often a space should also be there in the translation.
Topic: Pesky spaces around tags after MT
Poster: Samuel Murray
Post title: @James
[quote]James Plastow wrote:
Find: (<.+?>)\s(\w)
Replace: $1$2
Find: (\w)\s(<.+?>)
Replace: $1$2 [/quote]
1. Use < and >.
2. Yes, but you don't want *all* spaces next to tags to be removed. You only want spaces to be removed that should not be there. If a space is present in the source text, often a space should also be there in the translation.