DETECT USING REGEX

Made by: Rhaze
Anonymous
javascript
10/06/2022 11:04 AM
368 B
15
Indexable
splitData = data.split(" ");
for (let i=0; i < splitData.length; i++){
    var toVerify = splitData[i];
    if (toVerify.length > 14 && toVerify.length < 20){
        if (toVerify.match(/[a-z]/) && toVerify.match(/[0-9]/)){
            console.log(toVerify)
        }
    }
}
Editor is loading...