Created
July 28, 2010 13:51
-
-
Save hmert/494587 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ikilemeleri yok ediyorum böylece | |
function replaceDups(field) { | |
field = field.replace(/\s(\w+\s)\1/, " $1"); | |
return field; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment