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