String not found ?
-
I was looking for the string
S*w^{=JXa84riP0riS
and it was not found ! Even if I take it from where it is !
Strange isn’t it ? -
Well, I just tested in a new N++ file. I added some junk before and after it. Then using Search mode “normal” and “extended” I found the entries I was looking for.
If however I use “regular expression” then yes you won’t find it. That’s because some of your string includes “meta-characters”. These are characters that have special meaning. To use them literally you’d need to have the following to search for them as characters.
Find what:S\*w\^{=JXa84riP0riSNote that I have used the "" character before some, this is called the “escape” character and allows the meta character to retain it’s literal purpose, not the special meaning. That red text sequence that will find the same string as it dd in it’s original form with “normal” or “extended” mode.
Hope that helps you?
Terry
-
@Terry-R said:
Note that I have used the “” character before some,
I think this is supposed to read:
Note that I have used the “
\” character before some,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login