Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Need a regex to replace incomplete html entities

by Athanasius (Archbishop)
on Nov 20, 2016 at 10:56 UTC ( [id://1176195]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    20:54 >perl -wE "my $x = '<Remarks>1 SW PLT SLAC 6 PCS &#3</Remarks>';
    + $x =~ s/&#\d(?!\d)//g; say $x;"
    <Remarks>1 SW PLT SLAC 6 PCS </Remarks>
    ...
    <Remarks>1 SW PLT SLAC 6 PCS &#38</Remarks>
    
    20:54 >
    

Log In?
Username:
Password:

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

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

    No recent polls found