> dear friends:
Howdy
> 
> i have a simple doubts in reguler exepration see the the 
> passage that follows is stored in a variable by name v. in 
> the fifth line see the words like this "Next 20 ^ " now i 
> want delete all the charecter before ^- sign in my variable v.
> 
> shall i use find and replace to find all the pattern before ^ 
> and repalce it with single space charecter. please mail me 
> the actual code of pattern
> 
> $v="Description:
> 
> /flash/hp/pb/pbhp_84x28_blu_yahoo.gif"; var pb_width=84; var 
> pb_height=28; var pb_FitNewWinHeight = new Array; var 
> pb_FitNewWinWidth = new Array; pb_FitNewWinWidth[1] = 790; 
> 

What is all of the code above? Since its using special chars that may have problems.

To simply delete everything before the '^'

$description =~ s/^.*\^//;
That will remove everything before the last ^ you have. So if there are two carets 
then it will remove both.

Is that what you're trying to do or maybe you could elaborate a smidge more?

> Description:
> 
> 20 of 31,900,000 | Next 20 ^
> 
> Title: Java .Sun.com 
> 
> Description:
> 
> Sun's Java page, featuring developer resources, community, 
> documentations, support, news, and more. java .sun.com/ 
> search within ";
> 
>  
> 
> Catch all the cricket action. Download Yahoo! Score tracker
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to