# FindText / Ctrl-F string processing issues + Feature request

**URL:** <https://discourse.mcneel.com/t/findtext-ctrl-f-string-processing-issues-feature-request/173661>\
**Category:** Rhino\
**Tags:** windows, featurerequest, bug, rhino8\
**Created:** [January 18, 2024, 8:06pm UTC](https://discourse.mcneel.com/t/findtext-ctrl-f-string-processing-issues-feature-request/173661 "2024-01-18T20:06:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_Fuller](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/erik_fuller/32/511839_2.png) [@Erik\_Fuller](https://discourse.mcneel.com/u/Erik_Fuller)\
**Post date:** [January 18, 2024, 8:06pm UTC](https://discourse.mcneel.com/t/findtext-ctrl-f-string-processing-issues-feature-request/173661/1 "2024-01-18T20:06:31Z")

</div>

The findText command seems to have some issues with find and replace using the following kinds of strings:

• Sets of parentheses, this seems to me like there is some sort of code processing that isn’t being isolated from the strings in the Ctrl-F interpreter.  
Often when trying to replace strings in parentheses, such as (BY OTHER), it will have unpredictable behavior such as doubling up the strings or not replacing the parentheses –  
For example, this request could yield

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/7/7/4/774c76b5837c1484ab55913b761511304eca9723.png)

Foo Bar asdjkdjfalsdkjfdal (BY OTHER) =\> Foo Bar asdjkdjfalsdkjfdal ((test)) or Foo Bar asdjkdjfalsdkjfdal test test or Foo Bar asdjkdjfalsdkjfdal ()

• A blank or a single space in the “replace” field  
This will often insert the last string you attempted to replace with.  
If I instead tried to replace “Bar” with “” \<=(empty string, no quote marks in the box)  
And previously I had put the string “Baz” in the replace field,  
Despite the replace field being blank, it could result in Foo Bar asdjkdjfalsdkjfdal =\> Foo Baz asdjkdjfalsdkjfdal  
the same thing can happen sometimes if there is a single space in the replace field

Finally, here is my feature request:

It would be VERY useful if you could put this menu in the Ctrl-F field, as well as line in it that would allow you to insert/delete newline characters. doesn’t work with \n to the best of my knowledge.

![image](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/e/d/6ed49b3814ef6ccc0c9dc77b66634873f7a7f393.png)

Thanks so much!!!
