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

Replace a string that contains special characters

by Sonya777 (Novice)
on Mar 21, 2017 at 15:54 UTC ( #1185363=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    [{"absoluteLimits":{"conditionalLimits":[{"bidirVolume":4096000,"name"
    +:"Home"}],"resetPeriod":{"volume":"monthly day 15 00:??"}},"sliceVolu
    +me":5120,"subscriptionDate":"29-09-2016"},<b>{"absoluteLimits":{"cond
    +itionalLimits":[{"bidirVolume":102400000,"name":"Home"}],"resetPeriod
    +":{"volume":"2400 hours"}},"description":"Promotion_tariffbasic:29-09
    +-2016,08-01-2017T10:21","name":"1004","sliceVolume":5120,"subscriptio
    +nDate":"30-09-2016T09:21"}]}
    
  2. or download this
    {"absoluteLimits":{"conditionalLimits":[{"bidirVolume":102400000,"name
    +":"Home"}],"resetPeriod":{"volume":"2400 hours"}},"description":"Prom
    +otion_tariffbasic:
    
  3. or download this
    perl -p -e 's/{"absoluteLimits":{"conditionalLimits":[{"bidirVolume":1
    +02400000,"name":"Home"}],"resetPeriod":{"volume":"2400 hours"}},"desc
    +ription":"Promotion_tariffbasic:.*//s' example.txt
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2022-05-29 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?