Home     |     Photoshop    |     Flash General    |     Flash Actionscript    |     Dreamweaver    |     Macromedia Fireworks


Cervo Technologies
The Right Source to Outsource

Macromedia Dreamweaver

Way to test for mixed case file names?


Is there a tool/way/plugin in DW  to test for file links (whether its to a CSS,
JS, JPG, etc...) and whether mixed case is used?

 With our content being hosted on Linux servers, it would be great to test for
this before migrating and reviewing. I was poking around in the Validation and
Link checker part of DW8.

 Thanks-

Yes, there is a way.

 You can use the Find function with Search: Specific tag + regular expressions.
 See the screenshot of the Find dialog box:
 http://www.tappan.info/dreamweaver/spectag.gif

 Important: Options "Match case" and "Use regular expression" are checked.

 Searching for an uppercase char:  .*[A-Z].*
 Searching for an lower case char:  .*[a-z].*
 Searching for an uppercase char before a lower case char:  .*[A-Z].*[a-z].*
 Searching for an lower case char before a uppercase char:  .*[a-z].*[A-Z].
 NB:  .* means 'anything' in regular expressions.

 Hope this helps.

-----------------------------------------------Reply-----------------------------------------------

Ah, regular expressions. I've never really invested the time to learn them. I
think your idea is close, but I would want the logic to be: find any file links
(with the suffix .gif, .jpg, .js, etc...) that use upper case letters. Not sure
if its possible to search against multiple file types.

 Thanks-
 Kevin

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc