Comment

Comment by eCa

A somewhat clearer way (imho) is /(\d)\D*$/ since it anchors to the end of the string.
parent eCa 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton