Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: replace character to bracket in perlby GotToBTru (Prior) |
on Apr 04, 2016 at 14:34 UTC ( [id://1159499]=note: print w/replies, xml ) | Need Help?? |
Starting from "abcd| a a7-", you want to get "[a] [a7] [a]". I see 3 a's in the input, and 3 in the output, but I'm not sure what goes where. Except maybe the a7. Can you be more clear? What have you got so far?
In Section
Seekers of Perl Wisdom
|
|