Added textreplace.py

Added textreplace.py file.