回答編集履歴

1

変更

2016/04/06 07:46

投稿

root_jp
root_jp

スコア4666

test CHANGED
@@ -1 +1 @@
1
- replace(/(?!^)-/g, "");
1
+ replace(/(?!^)-|[^-\d]/g, "");