serathigeos
Programmer
I want to replace every occurance of "[0:12:#abc():34]" with
"#abc(34)", but the following is not doing the trick:
perl -pi~ -e 's/[0:12:#abc():34]/#abc(34)/g' file.txt
How can I replace literal brackets? []
-Brendan
"#abc(34)", but the following is not doing the trick:
perl -pi~ -e 's/[0:12:#abc():34]/#abc(34)/g' file.txt
How can I replace literal brackets? []
-Brendan