Re: Extracting Text
TonyJ wrote:
> What application (VBScript, Perl, TCL, C etc) would be recommended to
> extract text from a text file and placed into a new file. I have
> literally hundreds of text files and want to take out measured data from
> within each file. The data extracted would be placed into a new file and
> placed in columns for later analysis. Your thoughts.
A scripting language, such as Ruby or Python, with regular expressions
built-into the language.
Regular expressions were invented as a miniature language that specifies how
to extract text.
And regular expressions are not built-into VBScript. They are strapped-on
through ActiveX, making them an absolute pain in the nads to use.
--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!!
.
Relevant Pages
- Re: Problem with Regular Expressions in .NET
... This won't recognize comments or strings - If your code contains a string ... > I'm using regular expressions to extract some information from my ... > I want to extract with regular expression a string that contains the ... > IgnoreCase flag, the MultiLine flag, but there is nothing to do. ... (microsoft.public.dotnet.languages.csharp) - Re: Problem with Regular Expressions in .NET
... This won't recognize comments or strings - If your code contains a string ... > I'm using regular expressions to extract some information from my ... > I want to extract with regular expression a string that contains the ... > IgnoreCase flag, the MultiLine flag, but there is nothing to do. ... (microsoft.public.dotnet.languages.vb) - Re: Extracting Text from the right
... >1) To extract to the right of the last "." ... lot or your parsing tasks become more complicated, regular expressions ... shortest 2 chars. ... characters in the string. ... (microsoft.public.excel.worksheet.functions) - Re: Pattern Matching in a file
... > However I need to extract specific references within that document. ... > What is the best way to extract references of the type above - is it ... > Regular expressions are a bit of a dark art to me, ... > Any help / pointers would be very much appreciated ... (microsoft.public.dotnet.languages.csharp) - Problem with Regular Expressions in .NET
... I'm using regular expressions to extract some information from my ... vb.net source code files. ... I want to extract with regular expression a string that contains the ... IgnoreCase flag, the MultiLine flag, but there is nothing to do. ... (microsoft.public.dotnet.languages.vb) |
|