Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Regex: Case insensitive search but case sensitive replace

by Anonymous Monk
on Nov 17, 2003 at 12:16 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2023-09-30 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?