Skip to content

Instantly share code, notes, and snippets.

@Viktorminator
Created October 17, 2016 18:41
Show Gist options
  • Save Viktorminator/78551bc0179f3f36b959605ca3982c5a to your computer and use it in GitHub Desktop.
Save Viktorminator/78551bc0179f3f36b959605ca3982c5a to your computer and use it in GitHub Desktop.
Exclamation marks series #2: Remove all exclamation marks from the end of sentence
function remove(s){
return s.replace(/!+$/, '')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment