To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 4438
4437  |  4439
Subject: 
Re: Regular Expression help?
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 8 Jul 2003 17:21:10 GMT
Viewed: 
373 times
  
On Tue, Jul 08, 2003 at 05:05:17PM +0000, Andy Lynch wrote:
Dan Boger wrote:
On Tue, Jul 08, 2003 at 03:39:54PM +0000, Andy Lynch wrote:
Hello Regular Expression Geeks.

I'm assuming you mean perl's regexps?

Hmmm, actually I am using an html editor that allows extended searches
using regular expressions, so I am somewhat limited by what that
allows. I should have been more specific.

oh!  well, seems that it has a similar syntax :)

Anyway, the actual regexp here is:

   <img[^>]+border="[0-9]*"

Hope that will help.

By the way, if you need to edit hundreds of lines, using an automated
process might save you hours and hours of time.  Drop me an email if you
want some help with that :)

Dan

--
Dan Boger
dan@peeron.com



Message has 1 Reply:
  Re: Regular Expression help?
 
(...) I think this will only find img tags that have a border property, but I need to find img tags that are missing the border property. (...) Thanks for the kind offer. :-) I suspect once we can isolate the lines that are offensive that it will (...) (21 years ago, 8-Jul-03, to lugnet.off-topic.geek)

Message is in Reply To:
  Re: Regular Expression help?
 
(...) Hmmm, actually I am using an html editor that allows extended searches using regular expressions, so I am somewhat limited by what that allows. I should have been more specific. (...) That looks like it would work nicely, but as I said above, (...) (21 years ago, 8-Jul-03, to lugnet.off-topic.geek)

11 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR