Hi all... happy holidays :)
Does anyone know if the following already exist or if it would take long to code?
I need a search and replace program that has a "Find" field and under it has a
"Replace" one line down field.
In other words, I need a program that will find a complete line of text (In an XML file)
then insert a complete line of text directly underneath it.
In other words II... find a line of text, create a blank line under it and insert whatever
is in the replace field into it.
Thanks for your time,
John
5 replies to this topic
#1
Posted 01 December 2011 - 11:00 AM
|
|
|
#2
Posted 01 December 2011 - 12:42 PM
This should be pretty easy to do, assuming you're comfortable with file handling.
#3
Posted 01 December 2011 - 02:28 PM
Well... obviously I am a newbie, what do you think would be the best language to do this in? I will have to learn enough of it to complete this project.
Any chance of finding a pre-made code sniplit for the basic search and replace utility? And I will attempt to Mod it from There.
Thanks much,
John
Any chance of finding a pre-made code sniplit for the basic search and replace utility? And I will attempt to Mod it from There.
Thanks much,
John
#4
Posted 01 December 2011 - 03:24 PM
It shouldn't really make a difference. What language(s) are you familiar with?
#5
Posted 01 December 2011 - 03:34 PM
I'd recommend Python. Is that DOM (for XML) module already included, is really easy to learn and very powerful. Or you could do it with regular expressions, module for it also comes with Python.
On the other hand, if you decide for example C/C++, you will gain a deeper knowledge how files work.
On the other hand, if you decide for example C/C++, you will gain a deeper knowledge how files work.
A conclusion is where you got tired of thinking.
#define class struct // All is public.
#6
Posted 01 December 2011 - 04:32 PM
Well... I really don't care that much about speed, rather, easy to code. Heck something visual like VB would be even better.
Thanks
J :)
Thanks
J :)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









