Solved

How can I retrieve a distinct list of variables using Adobe Dreamweaver's search functionality?

Posted on 2011-02-16
3
895 Views
Last Modified: 2012-05-11
How can I retrieve a distinct list of variables using Dreamweaver's search functionality?

I would like to do a search in Dreamweaver that would return a distinct list of variables prefixed with 'session.emailContent'.  I could get the list pretty easily by outputting structKeyList().  However, I was just wondering if it were possible to use Dreamweaver to get the list by searching 'Selected Files in Site'.  If I can, and if it's quicker, it'd be nice to have that ace up my sleeve.  Thanks in advance!
0
Comment
Question by:brianmfalls
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 34910704
Hi brianmfalls,

There probably isn't a way to do it with Dreamweaver.  While you can use a regular expression to locate the variable name by pattern, DW won't return the name of the variable.  Instead, it could replace it or show the result in the Results Panel, but that can't really be manipulated in a serious way.

Using grep from the command line is a better method.
0
 
LVL 1

Author Comment

by:brianmfalls
ID: 34926004
I've not heard of 'grep'.  Can you elaborate?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 34930185
grep is a *nix command that searches text files via regular expressions.  It's very powerful and I recommend that people learn it:

http://en.wikipedia.org/wiki/Grep
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question