Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Regex: Case insensitive search but case sensitive replace

by Anonymous Monk
on Nov 17, 2003 at 12:16 UTC ( [id://307637]=note: print w/replies, xml ) Need Help??


in reply to Regex: Case insensitive search but case sensitive replace

Thx for all this tips !

The following regex perfectly fits my needs :

$string =~ s/(anything)/##$1##/i

Thx again for your help !
Dany

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found