Home

Replace when wild cards used

Bud Tripp
Occasional Visitor

In excel, ? matches any single character, thus s?b could be used to find s1b, s2b, and so forth. Once the matching items are found, I would like to leave the value matched by the ? wild card unchanged, let's say, for example, I want s1b to be replaced by s1foo, s2b by s2foo, and so forth. I tried using s?foo as the replacement string, but that literally replaced the digit with the ? character rather than leaving it alone. Is there a character that indicates "no change" to what matched the wildcard?

2 Replies
Hi! Can you post a screenshot of what you mean with that issue „?“, ?
it’s an unknown character while importing content from other file types, such as cab or txt... or is it cleared yet? Greets, Eva

Hi Bud,

 

To my knowledge Ctrl+H doesn't work such way

Related Conversations
[FIXED] Bug while trying to close tabs
HotCakeX in Discussions on
24 Replies
Developer support?
Deleted in Microsoft Teams on
1 Replies
Break or Pause during Replace command
Quality2663 in Excel AMA on
5 Replies
Tilde not working to replace asterisk?
dmharris in Excel on
3 Replies
Android app not displaying full card content
Deleted in Microsoft Teams on
4 Replies