Advertisement
Guest User

Untitled

a guest
Jul 11th, 2015
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <a href="#1">some@yahoo.com</a>
  2. <a href="#2">s0m3@ymail.com</a>
  3. <a href="#5">mail@yourbusiness.com</a>
  4. <a href="#3">you@gmail.com</a>
  5. <a href="#6">this@mybusinessmail.co.uk</a>
  6. <a href="#4">me@hotmail.com</a>
  7.  
  8. mail@yourbusiness.com
  9. this@mybusinessmail.co.uk
  10.  
  11. get A tag which NOT contain ymail AND NOT contain yahoo AND NOT contain gmail, AND NOT contain hotmail
  12.  
  13. //a[not(contains(., 'ymail')) and not(contains(., 'yahoo')) and not(contains(., 'gmail')) and not(contains(., 'hotmail'))]/text()
  14.  
  15. <html>
  16. <a href="#1">some@yahoo.com</a>
  17. <a href="#2">s0m3@ymail.com</a>
  18. <a href="#5">mail@yourbusiness.com</a>
  19. <a href="#3">you@gmail.com</a>
  20. <a href="#6">this@mybusinessmail.co.uk</a>
  21. <a href="#4">me@hotmail.com</a>
  22. </html>
  23.  
  24. mail@yourbusiness.com
  25. this@mybusinessmail.co.uk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement