Added triggers and tests for 'number of chars' and 'number of characters'
More concise string trimming regex.