in reply to Re: Hlelp regarding regex
in thread Hlelp regarding regex

Here's my thought on what you're looking for...
if ($x =~ /YD\d+$/) {}
Hopefully this "Hlelp"s... :)