Extracting filenames from the subject
Posted: Fri Dec 27, 2002 5:57 pm
Hello hopefully some RegExp expert here can help me...
NOTE: This has nothing to do with NewsBin Pro functionality, but rather a personal mod I made to allow me further extend certain features.
I wrote a small VBScript that parses *.spool files and populates access database. This script runs every night and updates database with the latest record sets like a clockwork.
What I need is a hint as to how "Show Filename" filter works.
I have constructed different RegExp patters to isolate filename string from the post subject but cannot come up with a consistent way of getting filename from the various diversity of subject formats. I understand that it's not going to be 100% perfect every time due to lack of standard, but hopefully can get it to work like NBP4.
NOTE: This has nothing to do with NewsBin Pro functionality, but rather a personal mod I made to allow me further extend certain features.
I wrote a small VBScript that parses *.spool files and populates access database. This script runs every night and updates database with the latest record sets like a clockwork.
What I need is a hint as to how "Show Filename" filter works.
I have constructed different RegExp patters to isolate filename string from the post subject but cannot come up with a consistent way of getting filename from the various diversity of subject formats. I understand that it's not going to be 100% perfect every time due to lack of standard, but hopefully can get it to work like NBP4.