I am working on my private Bible module in Polish.
I did full 31102 lines file
Plain text without any references etc
Now I want to add strong codes to words.
Started with word "Jesus"
In Polish little complex language we have variation of started "Jezus" and many suffixes: Jezusa, Jezusowi, Jezusie etc
How to use "Replace" option in Notepad++ (I use most of time) to append Strong code <WG2424> after any form of Jezus* word?
Can You help me?
notepad++ replace regex for private Bible module
-
- Posts: 4
- Joined: Sat Oct 03, 2020 7:28 pm
-
- Posts: 4
- Joined: Sat Oct 03, 2020 7:28 pm
Re: notepad++ replace regex for private Bible module
I found:
find: \bJezus\w*\K
replace with: <WG2424>
Jezus<WG2424>
Jezusa<WG2424>
Jezusowi<WG2424>
Jezusem<WG2424>
find: \bJezus\w*\K
replace with: <WG2424>
Jezus<WG2424>
Jezusa<WG2424>
Jezusowi<WG2424>
Jezusem<WG2424>
- jonathangkoehn
- Posts: 1300
- Joined: Wed Sep 29, 2010 11:04 pm
- Location: Colorado, United States
- Contact:
Re: notepad++ replace regex for private Bible module
Greetings Krzystofglinka,
Please refer to Notepad++ help forum for help with their product. (It does look like you are getting there though.)
I would suggestion
Regex:
find: (\bJezus\w*\K)
replace: $1<WG2424>
Perhaps this is what you are already doing?
OOps please don't use ( ) $1 with \K my bad.
Please refer to Notepad++ help forum for help with their product. (It does look like you are getting there though.)
I would suggestion
Regex:
find: (\bJezus\w*\K)
replace: $1<WG2424>
Perhaps this is what you are already doing?
OOps please don't use ( ) $1 with \K my bad.
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
Re: notepad++ replace regex for private Bible module
With the \K there is no need to have any back refs, the match up to that point does not get replaced.
However something like
\bJezus\w*\b\K(?!<W[HG])
should stop accidentally putting duplicate tags
However something like
\bJezus\w*\b\K(?!<W[HG])
should stop accidentally putting duplicate tags
Jon
theWord 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
theWord 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
Re: notepad++ replace regex for private Bible module
Absolutely, here's a simpler set of instructions:
Open "Replace" with Ctrl + H.
Type \bJezus(?:a|owi|ie|em|u)?\b in "Find what."
Put Jezus<WG2424> in "Replace with."
Check "Regular expression."
Click "Replace All."
This will tag <WG2424> after "Jezus" and its common suffixes. Test on a small part to be sure.
Open "Replace" with Ctrl + H.
Type \bJezus(?:a|owi|ie|em|u)?\b in "Find what."
Put Jezus<WG2424> in "Replace with."
Check "Regular expression."
Click "Replace All."
This will tag <WG2424> after "Jezus" and its common suffixes. Test on a small part to be sure.
Re: notepad++ replace regex for private Bible module
To add the Strong code <WG2424> after any form of the word "Jezus" in your Polish Bible module using Notepad++, you can use the Replace option with a regex pattern. Open the Replace dialog with Ctrl+H, then make sure you have "Regular expression" selected under Search Mode. In the "Find what" field, enter \bJezus\w*\b, and in the "Replace with" field, enter $0<WG2424>. Finally, click "Replace All."
This should append <WG2424> after any form of "Jezus" with suffixes.
If you need to take notes or keep track of your progress, you might want to check out notesonline.com. It's a handy tool for creating and accessing notes easily.
This should append <WG2424> after any form of "Jezus" with suffixes.
If you need to take notes or keep track of your progress, you might want to check out notesonline.com. It's a handy tool for creating and accessing notes easily.