Solved

Using Regular Expressions in Interdev 6

Posted on 2004-03-25
3
218 Views
Last Modified: 2013-12-23
Hi all,

I have a need to search a set of .asp pages and return a list of the pages that do NOT include a specific string. For example, as Maintenance work is being done on pages, we are placing a specific string tokens at the top of the page:

SQLID

Any page that has had maintenace done to it would have this string at the top of the page (or some other, unique token).

I'd like to return a list of pages that do not have a specific string anywhere in the page using the Visual Interdev Regular Expression search under the Find dialog in Interdev.

Regards,
Mark
0
Comment
Question by:markag
3 Comments
 
LVL 6

Accepted Solution

by:
BAlexandrov earned 125 total points
ID: 10773230
The problem is that regular expressions in search dialog are only single line. So you can't make one that search entire file. Maximum achievable is to get it to list you all lines in all files that do not contain specified string.
Either change the way of your workflow or use Source Safe features to track changes, or you could write small script for widnows scripting host that will be able to read entire file and run regular expressions on it.

Bojidar Alexandrov
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

832 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