|
Posted by Neredbojias on 07/20/07 21:10
Well bust mah britches and call me cheeky, on Fri, 20 Jul 2007 20:09:17
GMT Chris F.A. Johnson scribed:
> On 2007-07-20, M wrote:
>> I thank all for some of your suggestions but most of them deal with
>> CSS and not the bigger issue of scripts, ads, irrelevant sidebars
>> (tables or divs), etc. Maybe I'm coming at this the wrong way.
>>
>> As I mentioned, Notetab's script language does most stuff for me. In
>> order to strip out CSS though I need to strip out phrases like:
>> id="something"
>> class="something"
>> style="bunch of css attributes"
>>
>> I've been playing around with Notetab's (v4.95) regular expression
>> search and replace but I can't seem to find a combination that finds
>> the above expressions.
>>
>> Is there a regular expression program that will break this down for
>> me? For example, the program RegEx Coach lets you enter your text,
>> then test various regular expressions. The results are highlighted in
>> real time in the text you entered.
>
> I have no idea how standard notepad's regular expression syntax is,
> but this would match embedded style in *nix utilities:
>
> style="[^"]*"
That would have been my suggestion but I don't think Notetab's regexes work
the same way.
--
Neredbojias
Half lies are worth twice as much as whole lies.
[Back to original message]
|