3
votes
3answers
232 views

Using vim to delete all lines except those that match an arbitrary set of strings

I use vim to remove all lines except those that match a particular string, e.g. :g!/[string that I want to remain in the editor]/d Works great. But what I really want, and haven't found anywhere, ...
0
votes
1answer
38 views

Mark all URLs ending with .se (Notepad++)

I got a massive document with text. I want to mark all the URLs ending with .se I managed to mark the part of the url just before .se with \w+\.se. But some of these URLs got 3-4 subdomains. So if I ...
0
votes
1answer
41 views

How can I make a NetBeans search for HTML that includes odd white space?

For example, for code with lots of snippets like this: <section> <p><b>test</b></p> </section> I want to be able to search for: <section> ...
1
vote
0answers
41 views

TextAnalysisTool.NET equivalent for OS X

I've used TextAnalysisTool.NET in the past for analyzing log files on Windows machines and found it incredibly useful. I love the simplicity+power that it achieves for dynamically grepping log files, ...
0
votes
1answer
203 views

Quick file search for text

I was forced to use Visual Studio and wave off my favourite Notepad++. Now after coming back to Notepad++ I can see how slow it searches for fiels, where Visual Studio had "Solutions" where files ...
1
vote
1answer
62 views

Is there simple software that could perform proximity searches? [closed]

I am reading through quite a few state statutes and I need to see if there are any instances where two words come together frequently, such as flow meter flow-based meter meter based on the flow ...
0
votes
1answer
40 views

Application to do regular expression search on all pages linked to some specified html page

I am using a Windows 8 machine and starting with an html page I would like to automatically retrieve the text content from every link on that page that matches a regex. The retrieved content must then ...
1
vote
3answers
9k views

Using wildcard search/replace in Notepad++

Here's my problem: In a .txt file, I need to find and replace thousands of instances of syntax like this: (see (a053007djfgspwdf)) or (see (a053007djfgspwdf) and (a54134xsedgeg)) or (see ...
0
votes
1answer
50 views

Search files for regex and return which files contain matches

I searched everywhere but didn't find out how to return a file content that matches given words or a regex. cat /tmp/*.txt | grep "strings"
1
vote
2answers
2k views

Match regex pattern only in filename.extension

I need to use find to locate a file matching a regex pattern in filename.extension instead of the default, which matches /path/to/filename.extension. For instance: /folder |--a-love-song.ogg ...
1
vote
1answer
77 views

Do not search in comments Visual C++ 2010

Somewhere in the code, I've forgotten std::cout<< which is now messing up my console. But my code us full of commented debug outputs and VC++ searches through all of them, making it impossible ...
1
vote
1answer
194 views

How to search for any files that do not contain a proper XML root element?

I need to be able to search several thousand XHTML and XML files and see a list of files that do not contain the following string on the first line: <?xml version="1.0" encoding="utf-8"?> How ...
0
votes
2answers
328 views

GUI search tool in linux

Coming from windows, there is a fantastic search tool, called find everything, found here: http://www.voidtools.com/ Which can instantly search all files on your hard drives via name. It does not ...
3
votes
1answer
94 views

Windows program / tool needed for recursively searching through files referenced from within a file

Following scenario: I browse for unsafeMethodCall() in all my web pages. This method is only unsafe in case that there is a reference of doSomeCrazyAjaxStuff() My web pages are using strong ...
6
votes
2answers
1k views

Howto search in PDFs using regular expressions?

Usually I use Notepad++ to search in file(s) using regular expressions. Today I am wondering if there is a PDF program that does the same for PDFs. Of course I could convert the PDF to text and use ...
1
vote
1answer
411 views

Linux find and grep for files not match pattern

I'm trying to search the entire file system for specific text. This command does that but it gets hung up in certain directories like '/proc': find / -print0|xargs -0 grep whatever What I'd like ...
4
votes
1answer
180 views

Emacs: How to make regexp search the default for C-s?

How can I change Emacs so that the regexp search (instead of normal search) is the default? I would like to be able to type C-s [0-9], for example, and it takes me to the next number. Then, press ...
3
votes
1answer
1k views

Can Outlook Search use Regular Expressions (or wild cards)?

I'd like to search my Outlook email with regular expressions. Is this possible? If not, is there any sort of non-regex wildcard functionality? Without any sort of plug-in is preferable, but if not, ...
4
votes
1answer
752 views

Search using regular expression in a browser?

is there a way to search within a browser (with any of them) using regular expression? Let's say I want to search for either "python" or "php" I don't want to have to do this twice. Ideally, this ...
1
vote
1answer
165 views

How do I find all lines with more than N occurences of a character using Vim

I'm trying to located all lines in a file where the | (pipe) character occurs more than 21 times. The | character is a field delimiter, so there is no specific number of characters that may fall ...
5
votes
4answers
2k views

Any text editor that can apply some math to replacement text?

I have big XML file <obj param="2542"> <obj param="2333"> <obj param="6433"> I need to increase all "param" values by some number. I can match numbers that I need with regexp ...
1
vote
5answers
175 views

Search Files with Regular Expressions

Is there a good free tool out there to search files for matches to a regular expression? I would like to search all files of a specific extension for matches to this expression: ^ := '([a-z0-9]{3})'$ ...
1
vote
1answer
326 views

Regular Expressions find/replace

How to I do a search for @anydomain.anyTLD using regular expressions?
0
votes
1answer
62 views

Searching Multiple Terms

I know that grep -E 'termA|termB' files allows me to search multiple files for termA OR termB. What I would like to do instead is search for termA AND termB. They do not have to be on the same line as ...
2
votes
2answers
6k views

Notepad++ Search & Replace with Regular Expressions

I know its simple, but I can't get it to work... I have a strings like {span style="display:none"}123{/span} and {span style="display:none"}456{/span} and {span style="display:none"}789{/span} ...