Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^ # begins at start of body
- s* # possible spaces
- (
- hii?(?![a-z])| # any of these greeting words
- hello|
- h(e|a)y(?![a-z])|
- dear|
- greetings|
- hai|
- guys|
- howdy|
- h(i|e)ya|
- hola
- )
- .*? # followed by anything, up to...
- (
- [.,;!-]+ # one or more bits of punctuation
- s* # possible spaces
- |
- (r?n)+ # one or more newlines
- )
- s*
- (
- (ands*)?(+s*)?(withs*)?
- (sos*)?(manys*)?(mu?chs*)?
- (lotss*(ofs*)?)?
- ((tha?nk)|(thx)|(thnx)|regard)s?s*
- (yous*)?
- (in adva?nced?s*)?
- ((as*)?lots?s*)?
- (((verys*)|(sos*))?mu?chs*)?
- ((ands*)?(+s)?regards?s*)?
- [.!]*s*
- ([:;]s*[-~=]*s*[)]}>D3]+)* #smilies :) :D ;-3 etc.
- [.!]*s*
- )
- $
Add Comment
Please, Sign In to add comment