|
Prev: Code Format
Next: Editing Menues
From: Mr. Angier on 19 Jun 2008 14:09 I need to accomplish the following: Search for all URLs that contain "http://www.mycompany.com/dept/catalogs/" and strip off anything past the .../catalogs/" Basically, I have 3000+ links that begin with "http://www.mycompany.com/dept/catalogs/" and I need to strip whatever they may have after the .../catalogs/ piece of the URL. Anyone know a way to accomplish this? Thanks in advance!
From: E Michael Brandt on 19 Jun 2008 15:45 In what programming environment are you doing this? In DW's Find/Replace? If so, then try this carefully on a test page, as I have not tested it: Find: http:\/\/www\.mycompany\.com\/dept\/catalogs\/[^\"]*\" Replace with: http://www.mycompany.com/dept/catalogs/" If you need this in some other environment, let us know. -- E. Michael Brandt www.divahtml.com www.divahtml.com/products/scripts_dreamweaver_extensions.php Standards-compliant scripts and Dreamweaver Extensions www.valleywebdesigns.com/vwd_Vdw.asp JustSo PictureWindow JustSo PhotoAlbum, et alia --
From: Mr. Angier on 20 Jun 2008 09:53 That worked! Thank you.
From: E Michael Brandt on 20 Jun 2008 10:37 Mr. Angier wrote: > That worked! Thank you. You are very welcome. -- E. Michael Brandt www.divahtml.com www.divahtml.com/products/scripts_dreamweaver_extensions.php Standards-compliant scripts and Dreamweaver Extensions www.valleywebdesigns.com/vwd_Vdw.asp JustSo PictureWindow JustSo PhotoAlbum, et alia --
|
Pages: 1 Prev: Code Format Next: Editing Menues |