Hello Nick, Friday, December 6, 2002 at 08:43 GMT -0600, was when inspiration required Nick Danger [ND] to write:
ND> Could someone verify if it can do this type of thing, and if so, how I ND> need to format the template(s)? It looks like you pretty much already have it. I made very minor changes just basically to give the output that you wanted: =====[Begin Item QT]===== %IF:"%- %-%-%SETPATTREGEXP='(?ims)^item'%- %-%-%REGEXPMATCH='%COMMENT'%- "<>"":"%- For Sale: %- %-%-%SETPATTREGEXP='(?ims)^item:\s*(.*?)\s*\n\s*price:\s*(.*?)\s*\n'%- %-%-%REGEXPMATCH='%COMMENT' %- currently priced at %SUBPATT='2' %-%-%COMMENT='%- %-%-%-%-%SETPATTREGEXP=_(?ims)^item:\s*.*?\s*\n(.*)_%- %-%-%-%-%REGEXPMATCH=_%COMMENT_'%- %-%-%QINCLUDE='item'%- ":"%- %-%-%COMMENT=''"%- =====[ End Item QT]===== Running it on your message, I get: =====[Begin Test Run]===== For Sale: Bicycle currently priced at $50.00 For Sale: Recorder currently priced at $20.00 =====[ End Test Run]===== -- Thanks for writing, Januk Aggarwal This sentence lets you know this page was not a mistake. ________________________________________________________ Current version is 1.61 | "Using TBTECH" information: http://www.silverstones.com/thebat/TBUDLInfo.html
