Featured Worklog

Price Search



PC Apex Sponsor


PC Apex Sponsors



PC Apex RSS Feeds

RSS Feed for PC Apex Reviews & ArticlesRSS Feed for PC Apex PC Modding WorklogsRSS Feed for the PC Apex Daily DisturbanceRSS Feed for the latest PC Apex Site NewsRSS Feed for PC Apex Affiliate and Web NewsRSS Feed for PC Apex Deals and Steals

Go Back   Apex Community Forums // Other Forums // Designers Corner // Coding / Scripting / Programming

Coding / Scripting / Programming Discussions on all manner of coding and scripting.

Reply
 
LinkBack Thread Tools Display Modes
Old 25-May-05, 08:50 AM   #1 (permalink)
Apex Tech Demi-God
TiZakit's Avatar
Default Find and Replace

Ok, so I have a rather large find and replace problem.
I need to replace
HTML Code:
 <img border="0" src="bhs/images/image100.gif" width="121" height="88"> 
with just
HTML Code:
 <img src="bhs/images/image100.gif"> 
Now, it would be simple...
But the width and height in the find part varies.

So, how do I insert wildcards?
I have frontpage, but I can download any other programs you guys might have in mind (free or shareware or trial)

-Thanks
TiZakit
TiZakit is offline     Reply With Quote
Old 25-May-05, 10:47 AM   #2 (permalink)
'Da Doctor of Funk
FunkyFresh's Avatar
Default

You could copy and paste the source code into Word. Then hit "Ctrl-H" to do a find-and-replace. If you don't see the "Use wildcards" checkbox, click the "More >>" button at the bottom. Make sure that checkbox is selected, then use one of the available wildcards.

Be careful when you paste the code back into FrontPage -- if you switch to Normal View, it may automatically re-insert the width and height attributes.

The Replace dialog in Word:
FunkyFresh is offline     Reply With Quote
Old 25-May-05, 12:30 PM   #3 (permalink)
Key Hoe
jcarkeys's Avatar
Default

Exactly what I was gonna say.
jcarkeys is offline     Reply With Quote
Old 25-May-05, 12:37 PM   #4 (permalink)
Apex Tech Demi-God
subdismal's Avatar
Default

When slicing images with Photoshop, then turning them into Web images (which renders a 'layout' to your slices) I hate how Photoshop uses uppercase variables (I usually lowercase most of my variables). I always use the Find and Replace option with GoLive. If you're going to be doing Web work, I'd suggest moving to GoLive. I've been using it for about a year now and it really is a necessary tool for any Web designer.

Although, FunkyFresh hit the nail right on the head, as usual.
subdismal is offline     Reply With Quote
Old 25-May-05, 12:41 PM   #5 (permalink)
Joosey
Joose's Avatar
Default

You could copy and paste the source code into Word. Then hit "Ctrl-H" to do a find-and-replace. If you don't see the "Use wildcards" checkbox, click the "More >>" button at the bottom. Make sure that checkbox is selected, then use one of the available wildcards.

Be careful when you paste the code back into FrontPage -- if you switch to Normal View, it may automatically re-insert the width and height attributes.

The Replace dialog in Word:


[Edit]

Dammit, I was gonna say that Funky!
Joose is offline     Reply With Quote
Old 26-May-05, 08:13 AM   #6 (permalink)
Apex Tech Demi-God
TiZakit's Avatar
Default

Thanks, but it occurs once. On each of about 50-60 pages. So the word thing would be slower than me just searching for the code.
TiZakit is offline     Reply With Quote
Old 26-May-05, 04:58 PM   #7 (permalink)
Apex Tech God
CubanConnectionZ's Avatar
Default

Quote:
Originally Posted by TiZakit
Thanks, but it occurs once. On each of about 50-60 pages. So the word thing would be slower than me just searching for the code.

Wow, alot of pages.
CubanConnectionZ is offline     Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Register // So, will IM replace SMS? Gizmo The Register RSS 0 23-February-06 08:27 AM
Need to replace this board subnet_rx Motherboards / CPUs 2 03-November-05 07:22 PM
HOW TO: Replace your NB/TP TYCOON Motherboards / CPUs 12 13-January-05 03:03 PM
Circuit Q: Replace AA with DC? FunkyFresh Other Modding 3 26-October-04 08:29 PM
Things your PC can replace! Darksamurai Daily Disturbance 7 28-February-03 10:11 PM


All times are GMT -5. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright PCApex.com, GameApex.com, ForumApex.com 2001 - 2008
Advertisements

Page generated in 0.17558 seconds with 9 queries