Find and Replace
-
I’m having a letter replacement problem:
find: (n)|(u)|(o)
replace: (?1&)(?2Ã)(?34)I want the o to be a 4. But maybe this Notepad++ is misreading the order as 34. So is there any way I can turn the o into a 4 without error?
-
https://npp-user-manual.org/docs/searching/#substitution-conditionals
(?{3}4)for the last term -
@peterjones thanks you 🥳
-
@peterjones said in Find and Replace:
https://npp-user-manual.org/docs/searching/#substitution-conditionals
(?{3}4) for the last termPeter, that substitution expression (which provides the desired functionality) contradicts the spec, which says that without the
{}, “a single decimal digit (0-9)” will be used to identify the match group to test. Perhaps the spec should indicate that in the basic case of?ℕYesPattern:NoPattern, YesPattern must not start with a digit. -
That’s probably a good clarification
-
@peterjones said in Find and Replace:
That’s probably a good clarification
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