Solved

Using Regular Expressions in Interdev 6

Posted on 2004-03-25
3
220 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
[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
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Looking for a free but good website building application. 2 79
Tomcat Ports in Xampp 8 190
Web Modal Window 1 80
bootstrap submit button 12 123
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 exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

726 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