https://stackoverflow.com/questions/1872644/regex-to-validate-model-part-numbers
|\b((?=[A-Za-z/ -]{0,19}\d)[A-Za-z0-9/ -]{4,20})\b
It looks for a 4 to 20 chars string composed of [A-Za-z0-9/ -] chars and this string must be "on its own" (\b stands for word boundary)
Of course this isn't perfect (what is ...?). Attached a sample glossary for non-translatables and a test document. Have fun with it!
alwayslockyourbike
https://stackoverflow.com/questions/1872644/regex-to-validate-model-part-numbers
|\b((?=[A-Za-z/ -]{0,19}\d)[A-Za-z0-9/ -]{4,20})\b
It looks for a 4 to 20 chars string composed of [A-Za-z0-9/ -] chars and this string must be "on its own" (\b stands for word boundary)