How can I test if string start with "<" and end with ">" and print true if that true.


$Text="<hi how are you>"; // true

$Text=" any <hi how are you>"; // false

$Text="<hi how are you> any"; // false