Find text that contains tilde character - excel

When I use ctrl+F to find WLR2~LW~VBD_MPN, it does not show up.
Using a simple example, ctrl+F finds words like cwfwf and qwdqw.
WLR2~LW~VBD_MPN can be found on other software—including other Office products—such as Microsoft Word.
I tried ticking/unticking options like match case and match entire cell contents as well as also other options (within/search/lookin).
What can be done to find a word like WLR2~LW~VBD_MPN?
Further clarification: WLR2~LW~VBD_MPN is not created by any formulas.

Related

Search for a field followed by the specified character in Microsoft Word

I am trying to change format of all REF fields surrounded by square brackets, such as "[{REF ... \h \t}]". My approach is to search and select all the target fields and then apply format change command, for example Highlight.
A attempt search "[\d" Word delivers selected only the left part of the field, but if I search "\d]" then Word finds nothing.
Is there a way to do such search via GUI or VBA?
Thank you.

intelliJ -> is there any way to scope your search to be within a function

Very often while coding, I need to search for keywords which are common and happen throughout a large file, but I am looking for an instance within a function.
The default search functionality often gives me all results starting from the top. Is there any way/workflow to search only within a specific method/function or block of code?
Update
Do Ctrl + F
Then Ctrl + Alt + E
Type the text to search
On MacOS, it's cmd instead of Ctrl
Original Post
You can do it like this (mentioned keymaps are for Linux):
Let's take as an example the following code, where we will be searching for the word "key" inside the method "clear". As you can see there are many occurrences of that word (in red, highlighted the ones we want in our results, and in blue other occurrences, which we do not want to appear in our search results)
1- Select the area you want to limit the search scope to.
2- Press Ctrl+Shift+F. It will pop up a search window with the selected text pre-filled in the search box.
3- Select the options "Scope" and, in the combo next to it, "Selection" (if they are not selected by default)
4- Type the word(s) you want to search (in this example, the key word).
5- The results shown will be limited to the selected area. Notice how there are only 9 matches in the upper right corner ("Match case" option is checked), despite in the same file there are many other occurrences of the same word.
However, I was neither able to find a key combination in order to do this as a single action nor assign a new one. Also, notice how the search includes the text in the method documentation.
Tested using IntelliJ IDEA 2018.1.4 (Ultimate Edition), Build #IU-181.5087.20 on Ubuntu 18.04
Looks like we're finally getting this feature in IDEA 2019.3:
https://blog.jetbrains.com/idea/2019/09/whats-new-in-intellij-idea-2019-3-eap-2/ (Ctrl-F for subtitle "Ability to search in a selected area when using the Find action")
It’s now possible to search only in a selected area using the Find action (cmd+F / Ctrl +F). Simply select the code piece you need in the editor and invoke the Find action and the IDE will perform the search only in the selected area.
Screenshot from the article (was a GIF originally)
There is a way to search inside a method, however, it doesn't seem to work for other scopes.
When searching in file as usual, click "Find all"
You'll get a list of results in the bottom panel. If you enable "Group by file structure" (I had it disabled by default), you can get a list of matches for a particular method.
On IntelliJ in Mac:
In a file select the specific block in which we want to find
something
Press CMD + F
Press CTRL + OPTION + G
Notice that the cursor has automatically landed in the find toolbar's text field
Type in what is intended to be found
Press enter to move the cursor
to the first occurrence.

Open Office document at a specific word and highlight it

is there any way I could open an office document (Word, excel) with the cursor position at a specific string that is given as input ?
The requirement is part of a search and replace functionality and the client would like to open a document with the cursor positioned at the first occurrence of the search term. Highlighting it as well if possible. I have tried researching for this, but didn't find any helpful resources.
We are using Aspose and the Component Object Model (COM)
Help would be much appreciated!
It is possible to search text using Aspose.Words and Aspose.Cells. You can also highlight the searched term in the search results. For example you can search in an excel document using Worksheet.Cells.Find() method. Once cell is found, it could be highlighted with any color using Cell.SetStyle() method. Please visit the following links for details on how to search and highlight text using Aspose.Words and Aspose.Cells:
Aspose.Words: How to Find and Highlight Text
Aspose.Cells: Find or Search Data
Aspose.Cells: Setting Colors and Background Patterns
I work with Aspose as Developer evangelist.

Finding text, excluding supersets in Sublime

I remember hearing about the option to search for an exact word in Sublime, but I can't seem to find it.
What I mean by this is if I search for write, I'd like to exclude all instances of foo_write, foowrite, etc.
How can this be done?
Hit CtrlF (Win/Lin) or CmdF (OS X) to open up the Find tab. Make sure the first button on the left (Regular Expressions) is selected. In the search field, enter \bfoo\b and click the Find button or hit CtrlG/CmdG to search. The \b token indicates a word boundary, including spaces, punctuation marks like commas, periods/full stops, question marks, etc.
Also, the third button from the left, a pair of double quotes, says 'Whole Word' when you hover - Click this to find the exact word.
E.g., if I search for 'stage' it will return the line that contains the text 'when the stage changes' but not the line that contains the text '= b.stage__c'

Find and replace help, to remove certain things from text

I have file which contain 18k lines of text which consists of links and rondom ID codes and looks like this:
"
http://arduino.cc/en/Main/ArduinoBoardNano
SC09661
http://arduino.cc/en/Main/ArduinoBoardUno
http://www.farnell.com/datasheets/1639172.pdf
SC09670
http://arduino.cc/en/Main/ArduinoBoardUno
SC09665
http://arduino.cc/en/Main/ArduinoEthernetShield
SC09662
http://arduino.cc/en/Main/ArduinoXbeeShield
CS23020
http://bcove.me/zypzpy2q
SC09147
http://cache.national.com/ds/LM/LM134.pdf
SC08546
http://cache.national.com/ds/LM/LM2574.pdf
SC08540
http://cache.national.com/ds/LM/LM2576.pdf
"
I need to remove from this text all those ID codes (SC08540,SC09662,...) and links which not ends with .pdf, I know its posible with Notepad++ and other programs, with Replace funkction, but I dont know how exacly should I do this. Maybe I could get help with this?
I have not found a way to do this in one go with Notepad++ but this should work:
Open the replace box (Search --> Replace...) and select Regular expression
Search for ^.*[^\.][^p][^d][^f]$
Make sure Replace with is empty
Replace All
Now you have a file with empty lines and the links you want. There are at least two ways to get rid of the empty lines:
Method 1: TextFX plugin
Select all text
TextFX --> TextFX Edit --> Delete blank lines
Method 2: Replace
Make sure the cursor is at the beginning of the document
Open the replace box (Search --> Replace...) and select Extended
Search for \n\r
Make sure Replace with is empty
Replace All

Resources