Guest User

Untitled

a guest
Mar 11th, 2018
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. Hi, you email is: <br/>
  2. test@email.com
  3.  
  4. Hi, you email is: <br/>
  5. <a target="_blank" href="mailto:test@email.com">test@email.com</a>
  6.  
  7. # Text without the 'mailto:' link
  8. Hi, you email is:
  9. test@email.com
  10.  
  11. Hi, you email is:<br />
  12. test&#64email&#46com
  13.  
  14. <a name="myname">test@email.com</a>
  15.  
  16. text = myname@gmail.com
  17. chars = ['.','@']
  18. encloseIn = 'span'
  19.  
  20. for char in chars:
  21. text = string.replace(text, char, '<'+encloseIn+'>'+char+'</'+encloseIn+'>')
  22.  
  23. &#8203;
  24.  
  25. Hi, your email is:
  26. test at email dot com
Add Comment
Please, Sign In to add comment