Hello everyone ,
how to convert text values to link. e.g User is entering a value in text box or text area. and when he will press the ok button. then i want to display all values user has entered into div tag. but the web site name should be converted into link and email address should be converted into mailto:

web site name:- www.google.com
mail-address:- aaa_bbbb@gmail.com

how to solve this problem please tell me

Thanks in advance............................