-
-
Save thewarpaint/055f03aaf02393d2a5ea76050381256f 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
string.replace(/[ÁÉÓÚ]/g, 'Í').replace(/[áéóú]/g, 'í').replace(/[AEOU]/g, 'I').replace(/[aeou]/g, 'i'); |
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
string.toUpperCase().replace(/\s+/g, '').split('').join(' '); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment