JSFiddle - React, Tailwind, and code Playground

by Hugo Carneiro

JavaScript

var str = 'marker-10'
var number = str.split('-').pop()
alert(number)