Donate Now Goal amount for this year: 799 USD, Received: 100 USD (13%)
Please donate to help support this website. The funds will be used to purchase owned license of LiteSpeed Web Server Enterprise (2-CPU). It provides superior performance in terms of raw speed, scalability and anti-DDoS capabilities.

Results 1 to 5 of 5
  1. #1
    Newbie
    Points: 2,141, Level: 27
    Level completed: 94%, Points required for next Level: 9
    Overall activity: 9.0%
    Achievements:
    31 days registered3 months registered100 Experience Points500 Experience Points1 year registered

    Join Date
    Oct 2009
    Posts
    17
    Liked
    0 times

    Looking for a Batch Text Parser

    Hi All... I've been searching for the past 2 hours and I've decided to ask the experts...


    I am looking for a program that can extract a certain text section using 2 key words and keep what is in between.. Example

    bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla <noscript> alb alb alb alb alb </noscript> bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla

    I'd like to be able to keep the <noscript> Contents </noscript> I have folders containing over 1,000,000 files (All recipes before anyone asks) and there is no duplicate reference in the files. Once the part is extracted either all saved in a same file or seperate and i'll merge them.

    Any suggestions... thank you all in advance...

    Hunt4Gold

  2. #2
    Tech God
    Points: 27,433, Level: 98
    Level completed: 9%, Points required for next Level: 917
    Overall activity: 0.7%
    Achievements:
    31 days registered3 months registered1 year registeredTagger Second ClassTagger First Class

    Join Date
    Sep 2009
    Posts
    2,046
    Liked
    0 times
    ask the experts...
    eek thats not me

    you know regular expressions? several text editiors allow you to do that, for instance pspad. than there's astrogrep, baregrep, windows grep... regexbuddy, powergrep...

  3. #3
    Newbie
    Points: 2,141, Level: 27
    Level completed: 94%, Points required for next Level: 9
    Overall activity: 9.0%
    Achievements:
    31 days registered3 months registered100 Experience Points500 Experience Points1 year registered

    Join Date
    Oct 2009
    Posts
    17
    Liked
    0 times
    Thank you... the computer is converting the files as we speak... I would of loved to been able to find a script to just drag and drop in a folder but hey I can't complain it did the job... Thanks again.

    Have a great day.

    P.S: It's surprising that we don't think sometimes on the simplest of tools to do the job... ;-)

  4. #4
    Administrator
    Points: 46,459, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 99.8%
    Achievements:
    Recommendation Second ClassRecommendation First Class31 days registered3 months registered1 year registered

    Join Date
    Nov 2006
    Location
    Malaysia
    Posts
    9,579
    Liked
    892 times
    You might want to try TextCrawler.
    http://www.raymond.cc/blog/archives/...le-text-files/

  5. #5
    Newbie
    Points: 2,141, Level: 27
    Level completed: 94%, Points required for next Level: 9
    Overall activity: 9.0%
    Achievements:
    31 days registered3 months registered100 Experience Points500 Experience Points1 year registered

    Join Date
    Oct 2009
    Posts
    17
    Liked
    0 times
    Thanks Raymond... for those who need to do the same thing I went to the programmer's site of Text Crawler to ask the expression code required here it is..

    <noscript>[\s\S]*</noscript>

    and then just use extract works like a charm.

    You saved me day's of work I owe you one.

 

 

Similar Threads

  1. Panda Batch File Renamer 1.8
    By Boyfriend in forum Latest Releases
    Replies: 2
    Last Post: 04-05-2011, 01:11 AM
  2. Batch Picture Resizer 4.0 giveaway - 10 licenses
    By paf in forum Personal Giveaways
    Replies: 3
    Last Post: 02-18-2011, 02:06 AM
  3. Parser Message
    By JayCub in forum Software
    Replies: 3
    Last Post: 07-11-2010, 10:20 PM
  4. Batch download images
    By noaccount in forum General Forum
    Replies: 4
    Last Post: 12-21-2009, 06:26 AM
  5. Seek for free program with batch encoder!
    By jietjiang in forum Software
    Replies: 3
    Last Post: 07-24-2008, 09:59 AM
All times are GMT +8. The time now is 07:58 PM.