请将给定的一组文字在标点符号处进行断句，并将所有句子的首字母转换为大写字母后输出。
"the quick brown fox, jumped over the lazy dog. Wow, what a beautiful day it is! This is a sample text, used for testing purposes."
The quick brown fox jumped over the lazy dog. Wow, what a beautiful day it is! This is a sample text, used for testing purposes.