Skip to main content
Rollback to Revision 13
Source Link
jscs
  • 24.7k
  • 11
  • 77
  • 132

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automaticallyautomagically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automatically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automagically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

fixed grammar
Source Link

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automagicallyautomatically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automagically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automatically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

https://meta.stackexchange.com/questions/304996/should-the-word-hay-not-be-deleted-at-the-beginning-of-posts-especially-on-sp/305336?noredirect=1#comment992479_305336
Source Link

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
h(e|a)yhey(?![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
)

… is removed automagically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # 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
)

… is removed automagically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

We now automatically remove salutations from posts as they are entered.

I got really tired of performing this edit over and over, so anything matching the form of …

^                 # begins at start of body
\s*               # possible spaces
(
hii?(?![a-z])|    # any of these greeting words
hello|
hey(?![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
)

… is removed automagically at the time of submission to the server.

The thanks parts at the end of posts are much more difficult / risky to detect, so we are not touching those for now.

Some stats based on a local copy of the Stack Overflow database: questions starting with …

  • hi 300,455
  • hello 107,646
  • hey 22,697
  • dear 3,998
  • greetings 1,978
  • hai 964
  • guys 921
  • hii 512
  • howdy 483
  • hiya 344
  • hay 296
  • heya 207
  • hola 56
  • hihi 6
  • salutations 5

I've also removed most of the salutations (per above) across the network from existing posts.

Rollback to Revision 10
Source Link
gnat
  • 11.3k
  • 26
  • 149
  • 330
Loading
formatting
Source Link
Saikat
  • 101
  • 4
Loading
Post Made Community Wiki by Paul
added 34 characters in body; added 1 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 11 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 21 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
add "hay"
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 11 characters in body; added 10 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 46 characters in body; added 89 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 317 characters in body; added 13 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 262 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
added 18 characters in body
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading
Source Link
Jeff Atwood
  • 311.4k
  • 107
  • 889
  • 1.3k
Loading