I have a multi-line richtextbox which I want to filter between a min and max number of characters.

The fields would be:

txtMin
txtMax
rtbMyTextToFilter
txtOutput
cmdFilter

What is the best way to do this?

Thanks,

Jon