# Text Find Help Registry key

**URL:** https://www.finalbuilder.com/forums/t/text-find-help-registry-key/4487
**Category:** Discussion
**Created:** [August 2, 2011, 3:59am UTC](https://www.finalbuilder.com/forums/t/text-find-help-registry-key/4487 "2011-08-02T03:59:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 2, 2011, 3:59am UTC](https://www.finalbuilder.com/forums/t/text-find-help-registry-key/4487/1 "2011-08-02T03:59:31Z")

</div>

I have a script all written in Automise format to delete a file if it exists then export the reg key HKLM\Software\Windows\CurrentVersion\Uninstall

&nbsp;

In order to get list of&nbsp; software installed which i have working.

&nbsp;

Then i&nbsp;have "Text Find" searching in the file that it made that is a txt file.

&nbsp;

So far we have Export Reg Key to %systemdrive%\programlist.txt

&nbsp;

Everytime i try to search wild card on any word for isntance if i search for "\*adobe\*" it comes back with zero returns. But if i do \*a\* it comes back with a lot.

I tried to have a messagebox show the variable that i had it all stored to (see screenshot)

Please help. I am new to this and im not very happy with it so far.

![ScreenShotAutomise.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/f/f12d28f003b28ef19cfdc5253614e0cc4b25a5fc.jpeg)

![StringSearch.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/8/815df5a9fe2d67fbd5244a8b283782f9f6c7a567.jpeg)

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [August 2, 2011, 6:55am UTC](https://www.finalbuilder.com/forums/t/text-find-help-registry-key/4487/2 "2011-08-02T06:55:59Z")

</div>

Hi   
  
 This issue is occurring because when you export the Registry key to a text file, the Reg utility (which is called by this action) saves the output file in Unicode format.   
  
 I am assuming you are using Automise 3. Automise 3 is not compiled against a Unicode-aware compiler. This means it cannot handle Unicode files (Automise 4 supports Unicode).   
  
 It seems that this is tripping up the Text Find / Replace action. A work around for this issue is to do the following:   
  
 1. Export the registry key to your text file   
 2. Use the Read Text File to read the file contents to a variable   
 3. Specify the variable as the input for the Text Find / Replace action (rather than the original file)   
  
 I have tested this and it works as expected.   
  
 Hope this helps.   
  
 Regards,   
 Steve
