Exploring the flavor content of light and heavy-light pseudoscalars