# Store Search values in variable

**URL:** <https://www.finalbuilder.com/forums/t/store-search-values-in-variable/4449>\
**Category:** Discussion\
**Created:** [July 30, 2010, 8:36am UTC](https://www.finalbuilder.com/forums/t/store-search-values-in-variable/4449 "2010-07-30T08:36:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeegs](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/b19c9b/32.png) [@jeegs](https://www.finalbuilder.com/forums/u/jeegs)\
**Post date:** [July 30, 2010, 8:36am UTC](https://www.finalbuilder.com/forums/t/store-search-values-in-variable/4449/1 "2010-07-30T08:36:58Z")

</div>

Hi,

&nbsp;

I think I am missing something or some steps....but....here is the question.....

&nbsp;

I am searching a string and I need to store that value into the variable.

&nbsp;

I am using Text Find/Replace action to search string, but its just search string and give option to replace it. In my case I need to search the string(Patterns) and save that value into variable.

&nbsp;

Anybody knows how to store the&nbsp;"search string value" in variable

&nbsp;

Thanks,

Jeegs

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [August 3, 2010, 11:41am UTC](https://www.finalbuilder.com/forums/t/store-search-values-in-variable/4449/2 "2010-08-03T11:41:46Z")

</div>

Hi Jeegs   
  
 This is something that is on our todo list to make easier. For now you will have to use some script… have a look at the OnFindText script event for the Text Find/Replace action… you can assign the FoundText to an automise variable there.
