I am trying to extract my.db from the $target_directory utilizing one regx line only. The above print shows blank which makes sence. Anyones help is greatly appreciated.use strict; my $filename=''; my $target_directory=''; # EXPRESS server Target directory $target_directory = '\\\\express\f$\\exp_bak\\my.db'; $target_directory = s/$target_directory//gi; $filename = $target_directory; print $filename;
updated by boo_radley. : added code tags.
Edit kudra,
2002-04-23
Changed spelling in title ('reg x' to 'regex') per ntc reqest
In reply to REGEX Help by jdelmedi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |