rory oconnor wrote:
> 
> I am using LWP to hit a page and save the source to a file.  But before
> it saves it I want it to strip out the client id from the urls.  They
> are always in the same format:
> 
> client=xxxxxxxx&  # 8 digits and then ampersand
> 
> so what I want to strip out is stuff like:
> 
> client=23894749&

to strip out stuff like that just do

$content =~ s/client=23894749&//g;

experiment a bit with it (and read some about it) and you'll learn the
basics in notime. Expecially if you allready know how to use modules.

/Jon

> 
> i am a newbie so regex is a little out of my league.  any help
> appreciated!
> 
> thanks,
> 
> Rory
> 
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to