I have url like this i want it to accept .pdf and .PDF
$url =~ m|\/([\d\]-[\d\]\.pdf)$|; any help??
$url =~ m|\/([\d\]-[\d\]\.pdf)$|i;
The "i" in red I added means "case-insensitive."
This topic is now closed. New replies are no longer allowed.