Answers for "regex find 17 digits string consiting of numbers and letters"

13

regex for number and letters

let regex = /[^A-Za-z0-9]+/
Posted by: Guest on July-16-2020
-1

regex get number from string

const regex = /(12345)/gm;
const string = 'My id is 12345.';

console.log(string.replace(regex, '54321')) // My id is 54321.
Posted by: Guest on October-31-2021

Code answers related to "regex find 17 digits string consiting of numbers and letters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language