Replace extended mode search function
-
I’ve checked everything posted, havent’t found what I’m looking for. I’m trying to format a dictionary, taken from an old pdf and processed through an OCR. now i’m trying to making some sense of it and I’ve got something like this:
mechanic [-k-] adj mecánico/a
media sb media, promedio
medical
adj
médico medicamento
sb
medicamento, medicina (píldoras, etc.)
medicina
sb
medicina (práctica de la)
medico
sb
médico, doctor medie
adj
medio/a mediedie
sb
mediodía medietateuntil the end.
So its
\r\n[definition of previous] [next word]\r\n
\r\n [word function] \r\n
Definition of previous word] [next word]Now, the functions are few enough that I believe this could be automated like so
search:
\w\r\n adj \r\n
replace with
\r\n\w\r\n adj \r\nand repeating it a couple of times with sb, adj, vb, adv, etc. But that’s clearly not working, or else I wouldn’t be here.
And now I’m aout of ideas :3 ¿Any help?
-
Hello, @mar-hyg,
Your post does not seem very clear regarding your goals ! I advice you to read these two posts, below, before replying again !
https://community.notepad-plus-plus.org/topic/21965/please-read-this-before-posting
https://community.notepad-plus-plus.org/topic/22022/faq-desk-template-for-search-replace-questions
We certainly can help you, but we need further explanations to think about !
Thanks for reading. See you later !
guy038