# Text Replace Action fails

**URL:** https://www.finalbuilder.com/forums/t/text-replace-action-fails/2622
**Category:** Bugs
**Created:** [April 27, 2006, 3:24am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-fails/2622 "2006-04-27T03:24:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [April 27, 2006, 3:24am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-fails/2622/1 "2006-04-27T03:24:20Z")

</div>

I have a project which worked with FB3. Today I noticed that the Text Replace is no longer working with FB4.  
  
I have a file with a #VERS# label. The action replaces **#VERS#** with the actual version number.   
The only option used is “Case sensitive”. The action description is also named Replace #VERS#.  
  
What happens? The log file shows that the action **Replace ##** has found 0 matches.   
Any text between # is lost. Has # got any special meaning?  
  
  
–  
Martin

---

<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: [April 28, 2006, 2:10am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-fails/2622/2 "2006-04-28T02:10:54Z")

</div>

#XXXX# syntax was introduced in FB3 for Action List Parameters. You will need to escape it with an extra #, e.g ##VER#  
  
BTW, this syntax is now depricated in FB4, since you can now just use the same syntax as for variables.

---

<div class="post-metadata">

### Author: ![tinus](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/tinus/32/33_2.png) [@tinus](https://www.finalbuilder.com/forums/u/tinus)
#### Post date: [April 28, 2006, 8:11am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-fails/2622/3 "2006-04-28T08:11:19Z")

</div>

Posted By Vincent Parrett on 27 Apr 2006 7:10 PM  
#XXXX# syntax was introduced in FB3 for Action List Parameters. You will need to escape it with an extra #, e.g ##VER#  
  
BTW, this syntax is now depricated in FB4, since you can now just use the same syntax as for variables.   
  
  

OK, since its depricated - can I switch this behaviour off?  
  
And I found nothing about ## in the help file. There should be a section about "special characters".  
  
--  
Martin

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [April 28, 2006, 8:43am UTC](https://www.finalbuilder.com/forums/t/text-replace-action-fails/2622/4 "2006-04-28T08:43:50Z")

</div>

Thanks Martin,  
  
I’ve added a note to the help about this.  
  
.t8
