Bonjour,

Voici un regex qui permet de savoir si une string est en majuscule ou en minuscule :



<?php
$string="JE SUIS UNE PHRASE QUI COMPORTE DES MAJUSCULES";
if(preg_match("#[A-Z...