# Text Replace Action Problem in V6

**URL:** https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038
**Category:** Bugs
**Created:** [October 21, 2008, 11:37am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038 "2008-10-21T11:37:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![wasowerby](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/w/b77776/32.png) [@wasowerby](https://www.finalbuilder.com/forums/u/wasowerby)
#### Post date: [October 21, 2008, 11:37am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038/1 "2008-10-21T11:37:36Z")

</div>

The Text Replace action in V6.2.0.1084 doesn't work. The Search string: 'V6.06 \*\*/\*\*/\*\*\*\* Release' doesn't find Line 'V6.06 20/10/2008 Release' in the text file. Log reports 'No matches found'. The action works ok in V5.5.0.750. 'Whole lines only' and 'Wildcard \* matches any substring'&nbsp;are checked.

&nbsp;

Regards...Andrew

---

<div class="post-metadata">

### Author: ![wasowerby](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/w/b77776/32.png) [@wasowerby](https://www.finalbuilder.com/forums/u/wasowerby)
#### Post date: [October 21, 2008, 6:50am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038/2 "2008-10-21T06:50:36Z")

</div>

Further investigation reveals that it is the date wildcard (\*\*/\*\*/\*\*\*\*) matching which isn't working. Replacing this wildcard search date with the actual date in the appropriate line in the file matches ok.

&nbsp;

Regards...Andrew

---

<div class="post-metadata">

### Author: ![wasowerby](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/w/b77776/32.png) [@wasowerby](https://www.finalbuilder.com/forums/u/wasowerby)
#### Post date: [October 21, 2008, 7:00am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038/3 "2008-10-21T07:00:08Z")

</div>

Yet further investigation reveals that search string: ‘V6.06 \* Release’ works. Different ‘Wildcard \* matches any substring’ behaviour in V6!   
  
 Regards…Andrew

---

<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: [October 22, 2008, 3:58am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038/4 "2008-10-22T03:58:37Z")

</div>

Hi Andrew   
  
 This one took me a while to figure out… it is actually an unintended change in behavior. The reason it’s not matching is because of a new feature that was added in FB6 (from the help topic) :

If using wildcards, the characters \* and ? can be escaped as \*\* and ??, respectively. 
   
  
 Unfortunately changing it back to the old behavior is not an option at this time.

---

<div class="post-metadata">

### Author: ![wasowerby](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/w/b77776/32.png) [@wasowerby](https://www.finalbuilder.com/forums/u/wasowerby)
#### Post date: [October 22, 2008, 10:29am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-problem-in-v6/3038/5 "2008-10-22T10:29:57Z")

</div>

Thanks Vincent. I’ve changed the search string to accomodate the change, so it’s not a problem.   
  
 Regards…Andrew
