var text = "testing: 1, 2, 3"; // Sample text var pattern = /d+/g // Matches all instances of one or more digits
Please disable the adBlock and continue. Thank you.