Rewrite a text field in "Manage display" of content type
You have a couple of choice based on your needs:


Overriding the template file (twig) of the specific field
Using form_hook_alter
For complex and clean solution I suggest you to use a custom widget for your field type.