home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Enter command for Find/Replace.

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1561
Discussions: 200,952, Posts: 2,379,484, Members: 246,323
Old October 5th, 2004, 12:52 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 175
Send a message via ICQ to MrRatt
Enter command for Find/Replace.

Right, dont know how to explain this really...

what i need to do is put an "enter" command in to a Replace box...

the code i need to change is the following

Code:
<ORDER1>
<W1>qwe</W1>
<W2>asd</W2>
</ORDER1>
<ORDER2>
<W1>qwe</W1>
<W2>asd</W2>
</ORDER2>
<ORDER3>
<W1>qwe</W1>
<W2>asd</W2>
</ORDER3>
this repeats about 500 times, but i need it in the following format

Code:
<ORDER1>
	<W1>qwe</W1>
	<W2>asd</W2>
</ORDER1>

<ORDER2>
	<W1>qwe</W1>
	<W2>asd</W2>
</ORDER2>

<ORDER3>
	<W1>qwe</W1>
	<W2>asd</W2>
</ORDER3>

i dont really want to sit there and TAB each row, and then make a space between every order, ive worked out how to do the TAB but cant find how to make it automaticly put an "enter" in
(this has to be done via the "Replace" menu...
Attached is the "Replace" menu with the Tab command on it.

hope this makes sense.

Thanks
Attached Thumbnails
enter-command-find-replace-replace.png  
MrRatt is offline   Reply With Quote
Old October 5th, 2004, 12:54 PM     #2 (permalink)
Member
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 175
Send a message via ICQ to MrRatt
whoops, i think my code messed up the title.... :/

edit - sorry evilrick, typed without thinking.

Don't remove Moderator comments either.
EvilRick

Last edited by MrRatt : October 5th, 2004 at 01:07 PM.
MrRatt is offline   Reply With Quote
Old October 6th, 2004, 04:49 AM     #3 (permalink)
Member
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 175
Send a message via ICQ to MrRatt
bump
MrRatt is offline   Reply With Quote
Old October 6th, 2004, 06:04 AM     #4 (permalink)
Not Really a Member
 
Join Date: Oct 2001
Posts: 25,386
You can use MS Word

When you do a replace, you can use combo of chars to represent special chars
^t = tab
^p = carriage return

so you can replace your text with ^tsometext^p

That help?


If you want to do it code... umm what language are you using? heh
__________________
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
vass0922 is offline   Reply With Quote
Old October 6th, 2004, 08:45 AM     #5 (permalink)
Member
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 175
Send a message via ICQ to MrRatt
thanks vass will try that one, (it is an XML file that im editing)
MrRatt is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
invaid command . com Urge3 Technical Support 15 August 27th, 2002 07:14 AM
Audio help w/linux... bibletoter Applications and Operating Systems 20 May 29th, 2002 03:24 AM
? about cron jobs e980238 Applications and Operating Systems 7 May 7th, 2002 02:31 PM
Linux & Telnet Gibbo Applications and Operating Systems 6 February 28th, 2002 05:25 AM
RedHat 7.2: fresh install freezes as it loads samwichse Applications and Operating Systems 28 January 15th, 2002 03:00 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2944)
The disrespect of Obama by Russian .. (41)
Making Health Care Worse (178)
Wireless Televisions. (12)
CPU fan stops spinning randomly (9)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (5)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
Print spooler problem (15)
windows vista security holes (11)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
windows vista security holes (11)
Laptop with wireless problem. (5)
Modern Warfare 2: Who Bought It? (64)
tv not turn on-makes clicking sound (2)
CPU fan stops spinning randomly (9)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Point and Shoot Camera Suggestions. (4)
Multiple Restarts Required at Boot (2)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)
Wireless Televisions. (12)
Hp Artist Edition + Matching Bag (0)
Asus P4G8X Mobo (6)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)


All times are GMT -4. The time now is 05:28 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28