Created
May 10, 2019 14:34
-
-
Save IOIO72/e95cf200958d611e959935ed62dfa933 to your computer and use it in GitHub Desktop.
Removes everything prefixed until the first alphabetical character
This file contains 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
const removeSymbolPrefix = str => /^([^a-z]*)(.*)$/gi.exec(str)[2] || str; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment