Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: quick regex question

by arthas (Hermit)
on Jul 15, 2003 at 14:35 UTC ( #274432=note: print w/replies, xml ) Need Help??


in reply to quick regex question

If you want to substitue all '/' with nulls (charchters with ASCII code 0) you should do:

$row[0] =~ s/\//\0/g;

But you probably just want to remove '/', so it's:

$row[0] =~ s/\///g;

Hope this helps!

Michele.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://274432]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2019-06-25 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (106 votes). Check out past polls.

    Notices?