Rich Text Field Validation

I want to validate a rich text field in a new document for Notes Client.

How is it possible ?

with regards