Solved

Using Regular Expressions in Interdev 6

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now