I also used perl, but getting the following errors when using debugging mode:
perl -d regex1.pl < reg.txt
Default die handler restored.
Loading DB routines from perl5db.pl version 1.07
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main:
regex1.pl:5): if (/\.\/(.+):.*BL(.*)/) {
DB<1>
reg.txt is the input file.
Without debugging mode it returns nothing.
Any advise would be greatly appreciated.
abrouf