Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi, you email is: <br/>
- test@email.com
- Hi, you email is: <br/>
- <a target="_blank" href="mailto:test@email.com">test@email.com</a>
- # Text without the 'mailto:' link
- Hi, you email is:
- test@email.com
- Hi, you email is:<br />
- test@email.com
- <a name="myname">test@email.com</a>
- text = myname@gmail.com
- chars = ['.','@']
- encloseIn = 'span'
- for char in chars:
- text = string.replace(text, char, '<'+encloseIn+'>'+char+'</'+encloseIn+'>')
- ​
- Hi, your email is:
- test at email dot com
Add Comment
Please, Sign In to add comment