Geany search and replace in few keystrokes - regex

I'm looking for a quick way to search and replace in Geany, particularly using regex. I can select a word and do Ctrl + H to bring up the dialog, then hit Tab and type in the replacement. But then I need to hoist the mouse up to the "InDocument" button.
Is there a way to do that with a keystroke? Web search did not turn up anything yet.
Also, is there a way I can do a quick regex search or search and replace?

When the Replace modal window is open, use the following keyboard shortcuts:
Alt+o for "In Session"
Alt+i for "In Document"
Alt+n for "In Selection"

Related

Intellij Hotkey for marking regex checkbox on search/replace

I have a question that's been bugging me for quite some time now. I'd like to minimize my mouse usage while working in IntelliJ.
When doing searches (ctrl+f) or replacing text (ctrl+r) I always have to manually check the "Regex" checkbox when I want to use regex. Is there a quick way to toggle this checkbox with my keyboard, or do I always have to use my mouse for that?
Simply tabbing to the checkbox does not seem to be an option as using tab simply jumps between the search and replace input-boxes.
I can't seem to find anything in the keymap settings nor on google :(
Thanks in advance. :)
Just hold Alt/Option button to see the mnemonics underscore. In my case I should use Option x to enable Regex.

Search not finding anything even when matching text is highlighted?

Just tried searching for a keyword in an XSLT file and it returned no results, despite highlighting the word about a dozen times in the file anyway.
Visual Studio clearly thinks the word cannot be found in the file, yet to the left you can see it's also highlighted matching text. "Find" and "Find All" return the same results. I haven't made any changes to my settings, so I don't know where to go prodding for search options to see if something's been changed by company policy or some other similarly daft reason.
I think you might be running up against a slight anomaly in the Quick Find functionality. When you first select Quick Find, if you have text selected in the editor window, the selected text appears as the search phrase and all instances are highlighted. But if you turn on a filter (such as Case Sensitive or Whole Word), some (possibly all) of the highlighted text instances no longer match the search string.
Try this:
Highlight a word in your code.
Click Find and Replace > Quick Find. All instances of the word are highlighted.
Now turn on Match Case, and change one letter in the search box so it is a capital letter.
Click Find. All instances of the word remain highlighted, but the "No results" dialog appears.
The problem is compounded by the fact that the little filter icons in the Quick Find window are difficult to interpret.

Does Adobe Brackets maintain any kind of history of search and replace expressions?

Just now I was working on a fancy search and replace regular expression.
It looked good so I tested it on one entry then went to the editing area and the search and replace box went away.
I reopened the search and replace box to continue, but the selected text in the edit window replaced my search expression.
Control Z in the search box did not go back to my regex but undid the last change in the editing area.
I can't seem to find a way to get back to previous regexes in the find box. Is there any way? Googling turned up nothing.
Currently, Adobe Brackets doesn't maintain any kind of history of search and replace expressions. The feature is still missing.

Search and Replace with RegEx components in Atom editor

I want to search and replace this
`https://example.com/`{.uri}
to
[https://example.com/](https://example.com/)
With vim I would do a s/(http.*){.uri}/[\1](\1)/g but that doesn't work with atom.io. How can I solve this?
If you Cmd-F and open the search pane, there is a ".*" button at the right side. Click it and now it's regex mode.
I find
(http.*)\{\.uri\}
and replace to
[$1]($1)
Juste to update #speedogoo's answer for future readers, if you do not find the regex mode in the search view, it looks like this:
You can also open it with the shortcut Ctrl+Alt+/ (default).
Note that even ^ and $ are already supported by Atom's find-and-replace.

Different replace for the same word notepad++

I have these words: TOP and LOCK. I have 49 times this word but I would like to replace it with a different word a lot of times. For example, the first time with luc and the second times with pile.
I would like to make it automatically. I have the list of the replace words in a text file. I use Notepad++.
I have searched on many sites, but cannot find a good solution.
I don't have notepad ++ but can you highlight and right click there's an option to replace? or highlighting it then clicking format at the top and clicking replace and finally using Ctrl + F and replacing it that way? sorry if i could not help :)
try this:
tap ctrl + F
you can look at this pisture to get the picture:
http://im34.gulfup.com/Vkws5.jpg
Hope it help you
Highlight TOP
Press Search on top menu bar
Go to Replace
Under Find What, in Replace with field type what you want to replace it with
Then hit Replace All
You will then see the changes
I'm not very familiar with Notepad++ but I can do this with Sublime Text. I guess it doesn't hurt for you to try it out.
First, select all the words you want to replace with multiple cursor mode. Basically you can find TOP|LOCK with regular expressions, and hit Alt+Enter to convert the found words to multiple cursors.
Second, copy the words you want to replace and use the Text Pastry plugin to paste them in, one word at each cursor.
See here for a demo: http://imgur.com/a/KrBB8#0