Forum Moderators: open
I'd like to change the title to match the file name - simple if it was a php driven site but it's a manual build
what I *really* want to do is take the existing title (all the files have the same html title) and append the filename
does DW have anything like this?
also I'm still looking for a utility to add quotes to: width=99
but without touching any of the other formatting?
as I said all titles are the same so sitewide f&c will change them all to something else - it cant append the file name as I need
as for width=99 I'm looking for a generic replacement -there's a large number of width=x, height=y where x and y can be anything, not to mention other tags without quotes
find: height=([0-9]+)
replace: height="\1"
----
if you're dealing with the precent sign..use this.
find: height=([0-9]+)%
replace: height="\1%"
-------
which means:
find where height equals a character in the range 0-9 ...the [ ] means character in range...1 or more times...the + means one or more times.. and store this value as the first variable... \1
replace it with HeightEquals"value of variable 1"
make sure the Regular Expression check box is checked and, if you want to change all open files, click All Open Files.