|
|
Browse by Tags
All Tags » perl regex
-
I need a regular expression to do the following.
I have a variable called $base, that contain an url (http://www.mysite.com/)
I need a regular expression that will check in the list of link if the list contain $base + index or default ( it need to get all type of document example (inde.html, default.html, index.asp, index.aspx, ...
-
Hi,
In perl I'm using KinoSearch library to create an index for some c++ codebase. In the code there are class names like CRefSomething (smart pointer to Something), CTypeSomething (Something's meta-class) and so on (a few others). What I want to achieve is the following: when the indexer reaches CRefSomething I want to capture both ...
-
Hi, here's my little problem:
let's say i have the following string: "hi:jad1213aka678lpos67 hello:h123kkew555le78o"
Ideally I would like to get an array of all numbers following "hello:", so (123,555,78), but the problem is that I do not know exactly how many numbers follow "hello:". I am trying to do ...
-
I'm trying to use Trend Micro's Security Dashboard to filter a lot of spam we've been getting that is in the following form:
From: various crap email addresses (different every time)
To: various internal email addresses
Subject: blank, or occasionally containing one word
Body: always blank
Attachment: A small pdf file of ...
-
I am doing parsing of html to pick up url's with url-titles from web-pages using PERL (actually I am using a Perl-script not made by me that takes url-adresses and regexps as input to produce links from the wanted site). I often get problems related to controlling matching patterns in single lines vs multiple lines. Sometimes I always ...
-
Hi,
My enviroment:
Perl v5.8.1 (Activestate)
I need some fresh eyes on this problem i'm having with a custom file format i need to parse:
<level1><article><optional_tag>Some article text, which is one very long line<another_optional_tag>
I would like to extract the article text. Currently ...
|
|
|