Replace Capital Letter with Small Letter in English Grammar

Hello Peeps

I have a statement such as Diagnosis (Of) Stroke (When), now I want to convert this statement into all small letters such as diagnosis of stroke when how can I write it’s rule?

Try

diagnosisofstroke
to catch all differently case forms of the phrase
Then add an antipattern above it to disable alerts of the correct lowercase form
diagnosisofstroke

As it is one fixed phrase, I do not see the need for a conversion, just put the correct form in the suggestion.
But if you still want to, check this: Tips and Tricks - LanguageTool Wiki