I have a variable coming from a script within a loop and I need to check each variable to see if the first letter has a capital letter, if it does, I need to perform some operations on it, otherwise, the script continues,...
Can someone good at regexps help me with the code?
$var1 = "AB-TSE1";
$var2 = "ac-tse2";
The first letter is what is important because the names are either in all caps or all small.