I want to check if a string contains only the caracters a-z with a regular expression but their is something wrong. This is the first time i use regular expressions. I hope someone can tell me more about it.
this is my code:
if ($temp2 =~ m/[a-zA-Z]/)
{
$naam = $1;
}
else
{
die "Wrong input";
}