$temp='196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneproteinSequence
:196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneprotein';
#$name = $1;
$temp = ~s/'//g;
print $temp;
> its gives me: 4294967295 i dont know what this is...
I misspoke, slightly:
A
Sorry about that i got it.. It was a wrong way i was using the
=~ s. thing..
My bad
On 3/2/07, Kevin Roland Viel <[EMAIL PROTECTED]> wrote:
> On Fri, 2 Mar 2007, amit hetawal wrote:
>
> > Hello all,
> >
> > I have a string which comes from a database entry which looks like:
> >
> >
$temp='196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneproteinSequence
:196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneprotein';
#$name = $1;
$temp = ~s/'//g;
print $temp;
its gives me: 4294967295 i dont know what this is...
the space is giving you an
hello,
I tried this also,
my actual string looks like:
$temp='196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneprotei
nSequence
:196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneprotein';
#$name = $1;
$temp = ~s/'//g;
print $temp;
its gives me: 42949672
> I am trying to write a simple regex for it but its not working for me.
$temp = ~s/^'$//g;
Well, you're heart is in the right place but ... ;-> The 'anchors' here:
carret "^" meaning "beginning of string" and the "$" meaning "end of
string", are limiting your match to match a string w/ only a
On Fri, 2 Mar 2007, amit hetawal wrote:
> Hello all,
>
> I have a string which comes from a database entry which looks like:
>
> $temp = "X''";
> now i want to remove all the single qoutes from this string ( ' ) so
> as to make it looks like:
>
> "X"
>
> I am trying to writ
hello,
I tried this also,
my actual string looks like:
$temp='196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneproteinSequence
:196818OVA_Chlre2_kg.scaffold_4000234YEE1\'conservedmembraneprotein';
#$name = $1;
$temp = ~s/'//g;
print $temp;
its gives me: 429496729
>$temp = ~s/^'$//g;
Remove the '^' and '$' anchors. what your expression is expecting to work
on is a string that consists solely of a single-quote.
Try
$temp =~ s/'//g;
Deane Rothenmaier
Systems Architect
Walgreens Corp.
847-914-5150
"On two occasions I have been asked [by members of Parlia
Hello all,
I have a string which comes from a database entry which looks like:
$temp = "X''";
now i want to remove all the single qoutes from this string ( ' ) so
as to make it looks like:
"X"
I am trying to write a simple regex for it but its not working for me.
$temp
TED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Walter Usyk
Sent: Monday, June 10, 2002 11:54 AM
To: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: More regular expression help...
I have the following two possible string formats:
$str1 =
"/vobs/spifftest/.@@/HDX.LU/lineups/.@@/HDX.LU/hdx.lu@@
Jeremy Wadsack wrote:
>
> Daniel Lehman ([EMAIL PROTECTED]):
>
> > Hello All,
>
> > I am having some issues with a snippet of code from within my script. The code
>follows. What i am trying to do is basically is this. I have a file that contains
>about 40 lines similar to this:
> > mln TCS
Daniel Lehman ([EMAIL PROTECTED]):
> Hello All,
> I am having some issues with a snippet of code from within my script. The code
>follows. What i am trying to do is basically is this. I have a file that contains
>about 40 lines similar to this:
> mln TCS4-733-051901
> The first part(mln) b
> (2) but at the same time, there are a number of lines containing data
> that I want to delete the whole line for (example - any line that has
> xwy or abc, I do not want to write out to the new file.)
>
> I put the values in an array, hoping to use the regular expression
> match on
> a single
:
: I put the values in an array, hoping to use the regular
: expression match on
: a single item in the array, but it's not working. It works
: when I do them
: one at a time, but that would be a waste.
: @words = qq{abc xwy};
:
: foreach $word(@words)
:
:
I have a file, with lines such as:
|abc|john|smith|*0*7778745|[EMAIL PROTECTED]
|def|jane|bubbley|*0*345645|[EMAIL PROTECTED]
|xwyzeightyeight|harold|buffer|*0*|[EMAIL PROTECTED]
|the|one|andonly|*0*7438745|[EMAIL PROTECTED]
There are two things I am trying to do with data from a file. (1) I wan
15 matches
Mail list logo