Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make address half-width #1

Open
clkao opened this issue Sep 7, 2014 · 1 comment
Open

Make address half-width #1

clkao opened this issue Sep 7, 2014 · 1 comment

Comments

@clkao
Copy link
Owner

clkao commented Sep 7, 2014

北宜路二段80號 -> 北宜路二段80號

@clkao
Copy link
Owner Author

clkao commented Sep 8, 2014

This works:

   "莒光路163之1號".replace /[0123456789]/g ->
      (it.charCodeAt(0) - "".charCodeAt(0)).toString!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant