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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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