Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: quick regex question

by arthas (Hermit)
on Jul 15, 2003 at 14:35 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://274432]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-23 13:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found