Guest User

Untitled

a guest
Jun 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. ^ # begins at start of body
  2. s* # possible spaces
  3. (
  4. hii?(?![a-z])| # any of these greeting words
  5. hello|
  6. h(e|a)y(?![a-z])|
  7. dear|
  8. greetings|
  9. hai|
  10. guys|
  11. howdy|
  12. h(i|e)ya|
  13. hola
  14. )
  15. .*? # followed by anything, up to...
  16. (
  17. [.,;!-]+ # one or more bits of punctuation
  18. s* # possible spaces
  19. |
  20. (r?n)+ # one or more newlines
  21. )
  22.  
  23. s*
  24. (
  25. (ands*)?(+s*)?(withs*)?
  26. (sos*)?(manys*)?(mu?chs*)?
  27. (lotss*(ofs*)?)?
  28. ((tha?nk)|(thx)|(thnx)|regard)s?s*
  29. (yous*)?
  30. (in adva?nced?s*)?
  31. ((as*)?lots?s*)?
  32. (((verys*)|(sos*))?mu?chs*)?
  33. ((ands*)?(+s)?regards?s*)?
  34. [.!]*s*
  35. ([:;]s*[-~=]*s*[)]}>D3]+)* #smilies :) :D ;-3 etc.
  36. [.!]*s*
  37. )
  38. $
Add Comment
Please, Sign In to add comment