Hi.
Sorry to disturb you but I'm not very
confident with regex therefore I'd like
to know your opinion on this regex:
(I've got a string like this
delete-post-number
number have got a range between 1
and 9999999999
)
var _aName= 'delete-post-1253';
var num=_aName.match(/\-([0-9]+){1,10}$/)[1];
It works but ................
What do you think about ?
Best wishes 😉