[regex] Regular expression to limit number of characters to 10