Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to remove underscore before every dot using perl?

by madtoperl (Hermit)
on Mar 16, 2017 at 09:50 UTC ( [id://1184854]=note: print w/replies, xml ) Need Help??


in reply to How to remove underscore before every dot using perl?

Hi finddata,
You can try this for your current input data assuming only one _ is there,
#!/usr/local/bin/perl use strict; use warnings; my $str = 'DEMO_.perl'; $str =~ s/\_//; print $str;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-03-29 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found