Patterm matching and replace with a hyperlink type functionality in a windows form

How can I dynamically add a click event to a text pattern during runtime. E.g. In a windows form where ever empid(pattern) comes it should replace with a hyperlink type functionality so that on clicking the empid I can open a new window.Empid can be there in part of a text box,label.datagrid etc. Thanks& Regards Jimson

Loader.
Up arrow icon