“Expirat” Réponses codées

Utilisation de Regex en JavaScript

//Adding '/' around regex
var regex = /\s/g;
//or using RegExp
var regex = new RegExp("\s", "g");
TC5550

expirat

preg_match("/^([a-zA-Z' ]+)$/","Given_Name");
Malario

expirat

/[A-Z]/  : 'must contain one uppercase'

/([a-z])/  : 'must contain one lowercase'

/(\d)/  : 'must contain one number'

/(\W)/  : 'must contain one special character'
Didi Abel

expirat

regex cuorse
mari

Expirat

Great site to verify your regular expressions: https://regexr.com/
Coder-Kyle

expirat

^The        matches any string that starts with The -> Try it!
end$        matches a string that ends with end
^The end$   exact string match (starts and ends with The end)
roar        matches any string that has the text roar in it
Wicked Worm

Réponses similaires à “Expirat”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code