home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 40,588 of 42,547   
   REJEKTO to All   
   findstr or parsing   
   07 Dec 12 15:08:26   
   
   From: rejekto69@gmail.com   
      
   This might be easy for all the experts out there but its driving me crazy!   
      
   I have manage to finally parse a file to the barest. All I have now is the   
   following samples:   
      
   (W3SVC/34945844)   
   (W3SVC/54452847)   
   (W3SVC/14932848)   
   (W3SVC/34932849)   
      
   I would like to go one more step further and parse everything out except the   
   (site) numbers.   
      
   The result would be directed to a txt file and only shows the site #. Line by   
   line with no spaces. Example below.   
      
   34945844   
   54452847   
   14932848   
   34932849   
      
   I've looked into findstr but to no avail. And in general, regular expression   
   is the death of me.   
      
   Can this be done with findstr? Can I get a working example? I would like to   
   stay away from the unix utils such as sed and grep. Anything native to windows   
   will do.   
      
   Thanks in Advance!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca