0
votes
1answer
6 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
-2
votes
1answer
20 views

Inserting line before lines containing a particular word

How to insert a line before a line ending with a certain word in textpad? For eg: I want to insert a blank line before every line that ends with the word 'Chapter'
4
votes
1answer
265 views

Simplest setup on Windows to send HTTP request, get and apply regex to response, and write match(es) to output file

I'd like to write a script that records the size of the close votes review queue on SO (currently ~95.5k), polling just a few times an hour, so I could plot a general trend. I know what I'm going to ...
1
vote
0answers
40 views

Script to port specifc data from doc1 (notepad++) to specific place(s) in doc2

I really appreciate your help with a windows script or regex function that ports specific data from doc1 (xml in notepad++) to specific place(s) in doc2 (notepad++). I'm running win8. Thank you in ...
0
votes
1answer
1k views

Add text to beginning and end of each line using batch/cmd

What I'd like to achieve in the end is to generate a text file that lists all *.txt files in the current directory with the path appended to the beginning of the filenames, and some other string after ...
4
votes
4answers
76 views

Apply regex to certain occurrences

I have a large file with plain text (no html tags, etc.). What I want to do is to apply regex to whole file on the one hand but on the other I want to choose which changes will be applied. For ...
0
votes
2answers
665 views

Regex find-replace big file [duplicate]

Possible Duplicate: Is there a text editor for very big files? I need to find a text editor that can replace a regex in a 250MB file without crashing. I tried: EditPadPro NotePad++ Is ...
7
votes
4answers
789 views

Looking for a regular expression to work on a list of comma separated values

I have line of 3 long numbers separated by comma. What I want to do is to delete the number in the middle, and leave only first number and last number separated by a comma. Currently: ...
1
vote
1answer
120 views

Regex to join fields in a CSV

I have a CSV with over 2 million records in it with the following format. path;name;extension;size;date;user /foo/;difacs;cgi;3,795;18-07-2011;Unix User\pads ...
0
votes
1answer
60 views

sed grouping cancels out results?

When running the following sed command under Windows (to uppercase a keyword which isn't part of another word): "c:\Program Files (x86)\GnuWin32\bin\sed.exe" -e "s/[^a-z]*declare[^a-z]*/DECLARE/I" ...
1
vote
1answer
81 views

Tool to manipulate text in web form fields?

I'm looking for a way to manipulate text in form fields. For example, if I have a large textarea "body" field, from my browser I want to be able to highlight a piece of text in that textarea, for ...
3
votes
6answers
8k views

Regex Replace from Command line

Is it possible to regex replace from command line? Right now I'm using notepad++ to do this. In command line I can only use FINDSTR wich can only locate the mached files/lines EDIT : Maybe it will be ...
1
vote
3answers
386 views

SW to replace a string in Windows

I have a text file (actually XML) that I want to be able to change using a command line. In other words, as part of a Windows batch, I want to locate a string (in this case @@@@, which uses a ...
2
votes
1answer
415 views

display and remove all chars > ascii code 127

How can I display and remove all chars > ascii code 127 from a file? UPDATE Dennis has solved it but there is some interesting discussion about number ranges. I have a regex for it and this is ...
0
votes
1answer
453 views

Can I sort files A-Z and at the same time Z-A?

Question I am trying to sort and rename a large number of files that are labeled #####_## The LEFT side of the underscore are numbers (e.g., 32956715, 32956810, etc.) that do not repeat. The RIGHT ...
2
votes
5answers
1k views

How to extract regex matches from a file on windows

I use lot of regular expressions. I'm using EditPadpro for all my editing purposes. Most of the time I'll have to extract all the regex matches in the file to another file. Is there any software that ...
6
votes
3answers
7k views

Windows: File copy/move with filename regular expressions?

i basically want to run: C:\>xcopy [0-9]{13}\.(gif|jpg|png) s:\TargetFolder /s i know xcopy doesn't support regular-expression filename searches. i can't find out how to find out if PowerShell ...
5
votes
4answers
2k views

How can I search the windows registry with regular expressions?

Is there a tool or method with which I can search the windows registry with regular expressions?
2
votes
6answers
2k views

Editor with muti-line search and replace

I am looking for text editor for Windows which is capable of performing search and replace operation of multi-line text block. It should be able to run this operation on a folder or currently opened ...
5
votes
12answers
4k views

Parsing text files

I encountered a situation tonight where I wanted to parse a text file. I had a very, very long word list that contained English words delimited by lines. I wanted to get rid of every word (or line) ...