regex - How do I strip leading section of this string in perl -


i have following string:

[bn_d]hostname=localhost 

how strip [bn_d] string using perl? give me string:

hostname=localhost 

you can do:

^[^]]*.(.*)$

for that


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -