Multiple Exclamation/Question Mark Detection

Description

This rule checks for excessive punctuation (multiple exclamation points or question marks) at the end of words. It helps maintain a professional and measured tone in writing by identifying hyperbolic or overly emotional punctuation. Such punctuation can make text appear informal, unprofessional, or overly dramatic, which is often inappropriate in formal or technical documentation.

Examples

This rule will flag:

  • "Hello!!" (multiple exclamation points)
  • "Really??" (multiple question marks)
  • "Wow!!!" (three or more exclamation points)
  • "What???" (three or more question marks)

It will not flag:

  • "Hello!" (single exclamation point)
  • "Really?" (single question mark)
  • "Stop." (regular period)

The rule specifically looks for any lowercase word followed by two or more exclamation points or question marks, marking these instances as errors in your text.