Skip to content

Instantly share code, notes, and snippets.

@Matojeje
Created January 10, 2020 19:52
Show Gist options
  • Save Matojeje/21895087ca74138adc4573ef112014c0 to your computer and use it in GitHub Desktop.
Save Matojeje/21895087ca74138adc4573ef112014c0 to your computer and use it in GitHub Desktop.
for(x="",i=65;i<91;i++)x+=`(?=.*${String.fromCharCode(i)})`
arguments.forEach(a=>{RegExp(x,"i").test(a)&&print(a)})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment