I have url like this i want it to accept .pdf and .PDF
$url =~ m|\/([\d\]-[\d\]\.pdf)$|;
any help??
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.”
Thanks,Jeff Mott