Replace EditText selection

How can I replace the selected text with something in android's edittext? For example: Default Text Assume "Default" is selected now. I want to replace it with !boldDefault. How can I do it? I tr...