[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Using Regular Expressions in Interdev 6

Posted on 2004-03-25
3
Medium Priority
?
225 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 500 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
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…

656 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