Morgan Stanley Interview Question

Find special charaters like digit and question mark in a string.