I need one help regarding regular expressions in PERL
I have a string like
test[01,02,03],tesst11*,rohit[01-20]
I need to write a regular expression for substitution which will make
this string like
test[01,02,03] tesst11* rohit[01-20]
that means I want to substitute only those commas by space which are
not in square brackets. Any quick idea..?
regards
Sharma
I have a string like
test[01,02,03],tesst11*,rohit[01-20]
I need to write a regular expression for substitution which will make
this string like
test[01,02,03] tesst11* rohit[01-20]
that means I want to substitute only those commas by space which are
not in square brackets. Any quick idea..?
regards
Sharma
Comment