Hi Rajesh,
On Thu, 19 Sep 2013 23:39:48 +0530
rajesh kumar wrote:
> Hi,
>
> I am reading a set of regex, separated by comma, from database, which is in
> string format and using eval to convert them in the array.
> For e.g.,
> String from database is 'qr/^abc .* $/,qr/xxx/'
>
> $string = 'qr/^
Hi,
I am reading a set of regex, separated by comma, from database, which is in
string format and using eval to convert them in the array.
For e.g.,
String from database is 'qr/^abc .* $/,qr/xxx/'
$string = 'qr/^abc .*$/,qr/xxx/'; # this $string comes from DB
$string = '[' . $string . ']';
my @cl
On 19/09/2013 20:09, rajesh kumar wrote:
Hi,
I am reading a set of regex, separated by comma, from database, which is
in string format and using eval to convert them in the array.
For e.g.,
String from database is'qr/^abc .* $/,qr/xxx/'
$string = 'qr/^abc .*$/,qr/xxx/'; # this $string comes fro
.
Thnx
Prabu
Jeff Pang <[EMAIL PROTECTED]> wrote:
--- [EMAIL PROTECTED] wrote:
> Hello!
>
> Help with Regex, Thanks in avance!
>
>
> 1. Validation of Name
>
> Enable ALL keys on keyboard EXCEPT 0, 1, 2.,
> 9
> Change to uppercase
--- [EMAIL PROTECTED] wrote:
> Hello!
>
> Help with Regex, Thanks in avance!
>
>
> 1. Validation of Name
>
> Enable ALL keys on keyboard EXCEPT 0, 1, 2.,
> 9
> Change to uppercase of 1st alphabet of every word
> and lowercase for
> the rest of the
Hello!
Help with Regex, Thanks in avance!
1. Validation of Name
Enable ALL keys on keyboard EXCEPT 0, 1, 2., 9
Change to uppercase of 1st alphabet of every word and lowercase for
the rest of the word.
Example: aDa AdA 12DDD 12ddd dd12dd à Ada Ada 12Ddd 12Ddd Dd12dd
a) If Name (0-2
i have been playing... will this work and wich is more efficient ?
/^([0-3][0-9]\-
#day-|
(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+#month
|
\-(20)[0-9][0-9]\s+
#year till 2099 |
[0-9][0-9]\:
#hour
Gregory Machin wrote:
> Hi
> I need to parse the logs for my named server. i'm having difficulty getting
> my mind around the regex to break the data up .. i want the break it up and
> store it in a data base then maniptulate the data from there ...
> |date | time |catagory|severit
Hi
I need to parse the logs for my named server. i'm having difficulty getting
my mind around the regex to break the data up .. i want the break it up and
store it in a data base then maniptulate the data from there ...
|date | time |catagory|severity|client |ip
|port
Kevin Old wrote:
Hello everyone,
Hello,
I have a line like the following:
my $line = "31232000 07/28/04 DUC000 NET 60 DAYS RD64
UPSGNDSVR PREPAID";
What I'm looking for in lines like this are the customer number
(DUC000) and a "code" that starts with UPS, or if the code doesn
On Thu, 4 Nov 2004 10:58:16 -0600, Robert Citek
<[EMAIL PROTECTED]> wrote:
>
> On Thursday, Nov 4, 2004, at 10:49 US/Central, Scott Pham wrote:
> > Why don't you just split the line and use the whitespace as separator?
> >
> > $line =~ s/\s+/ /;
> > my
> > ($record,$date,$cust,$temp1,$temp2,$temp3
On Thursday, Nov 4, 2004, at 10:49 US/Central, Scott Pham wrote:
Why don't you just split the line and use the whitespace as separator?
$line =~ s/\s+/ /;
my
($record,$date,$cust,$temp1,$temp2,$temp3,$temp4,$temp5,$shipping,$paid
)
= split (/ /,$line);
As I was reminded the other day, split work
04 10:38 AM
To: [EMAIL PROTECTED]
Subject: Need help with regex
Hello everyone,
I have a line like the following:
my $line = "31232000 07/28/04 DUC000 NET 60 DAYS RD64
UPSGNDSVR PREPAID";
What I'm looking for in lines like this are the customer number
(DUC00
On Thursday, Nov 4, 2004, at 09:38 US/Central, Kevin Old wrote:
my $line = "31232000 07/28/04 DUC000 NET 60 DAYS RD64
UPSGNDSVR PREPAID";
What I'm looking for in lines like this are the customer number
(DUC000) and a "code" that starts with UPS, or if the code doesn't
start with U
On Thu, 4 Nov 2004 10:05:08 -0600, Larsen, Errin M HMMA/IT
<[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Kevin Old [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, November 04, 2004 9:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: Need he
> -Original Message-
> From: Kevin Old [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 9:38 AM
> To: [EMAIL PROTECTED]
> Subject: Need help with regex
>
>
> Hello everyone,
>
Hi!
> I have a line like the following:
>
> my $lin
Hello everyone,
I have a line like the following:
my $line = "31232000 07/28/04 DUC000 NET 60 DAYS RD64
UPSGNDSVR PREPAID";
What I'm looking for in lines like this are the customer number
(DUC000) and a "code" that starts with UPS, or if the code doesn't
start with UPS idea
[EMAIL PROTECTED] wrote:
So, I need some help on how to write a regexp to get the values
after inflating, that is the filenames, and put them in an array.
Both outputs above are stored on a $stdout php variable.
Well, this list is for discussing Perl, not PHP. If you want a regexp
in PHP, you'd b
Hello,
I have as the output of an unzip command called from a script the following:
unzip test.zip
Archive: test.zip
inflating: arch1.txt
inflating: arch2.txt
inflating: arch3.txt
inflating: arch4.txt
inflating: arch5.txt
inflating: arch6.txt
The same I have from a pkware execution :
pku
> MAN 2 MAN18800101.eps
The filenames will not have this sort of naming convention.
Files will look like the following.
ALLY20030111W.eps
TEST W20030122
HELP WANTED20030901WW.eps
GIRL WATCH BIRD 20030101
HELPER 20030121.CW.eps
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Gareth Segree wrote:
>
> I have a directory of files that I want to move to another directory.
> (eg. ALLY20030111W.eps
> TEST W20030122
> HELP WANTED20030901WW.eps
> GIRL WATCH BIRD 20030101
> etc..)
>
> I want to be able to parse the filename and replace the date portion with
> any
> I have a directory of files that I want to move to another directory.
> (eg. ALLY20030111W.eps
> TEST W20030122
> HELP WANTED20030901WW.eps
> GIRL WATCH BIRD 20030101
> etc..)
>
> I want to be able to parse the filename and replace the date portion with
> any date
> (eg $1="ALLY"
hi, i have this regex:
\.(?!.png|.log)[^.]*$
how can i replace the .before png and log with nothing? the problem is,
the alternation can be longer, like that:
\.(?!.png|.log|.txt|.c|.cpp and so on )[^.]*$
how could i do that?
THANKS:-)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
Curtis,
thanks for your email. My $args is just a string. Would that make any
difference?
-r
Curtis Poe wrote:
>
> --- Rasoul Hajikhani <[EMAIL PROTECTED]> wrote:
> > Hi there,
> > I am trying to match an expression that would perform different tasks
> > depending on the returned value:
> >
> >
--- Rasoul Hajikhani <[EMAIL PROTECTED]> wrote:
> Hi there,
> I am trying to match an expression that would perform different tasks
> depending on the returned value:
>
> #if (arguments begin with "
Knowing how your data gets into the system is at least as important as how y
Hi there,
I am trying to match an expression that would perform different tasks
depending on the returned value:
#if (arguments begin with "
26 matches
Mail list logo