Then delete all the lines that don't contain your filter term, one by one: Then delete all lines that start with "SALE:" I'd suggest you use UE's scripting engine which surely wouldn't have a problem with that. I'm not sure if macros can do the job since I don't think that you can dynamically construct a regex search string using the clipboard. This surely can be done anyway with UE. With a tool like PowerGREP, this would be a 30 second job. This looks more like a job for a grep tool, not a text editor. I think is something with the Clipboard but I don't know how to fix it. I made a macro that does a filter, but copies the complete line for every match and not only the numberġ) I don't know how to say the macro extract in a new file only the numbers between the strings explained above for every match found.Ģ) In other hand, I've used the next commands to make flexible the look up data, but something is wrong, because not always paste the same data. If I want to filter for "Type3-1" and "Type4-2", the answer would be, in a new file, as follow: If I want to filter for "Type2-10", the answer would be, in a new file, as follow: I have the follow pattern in a large text file (256MB about in size and 2.5 million lines more or less). I need a kind of "filter" to extract only the number located between the strings "LIST:NUMBER=" and ",TYPES="įor all lines within a specific "Type" look up. There are lists within a document that contain many of the 33 different "Types" of products, but not all of them. Hi guys, I'm really new in this, I hope somebody help me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |