SyntaxFix
Write A Post
Hire A Developer
Questions
Simply replace it with nothing:
var string = 'F0123456'; // just an example string.replace(/^F0+/i, ''); '123456'