On Sat, July 21, 2012 3:40 pm, Amos Shapira wrote: > (Writing from phone sp can't test) > It should be something like: > sed -r -e 's/\[[0-9]{1,2}\]//g' On Jul 21, 2012 3:19 PM, <li...@sbt.net.au>
I got this: Job 1960053 OTHER Abc 04-12-2012 Notes seems pretty close to what I wanted ! thanks !! so, if I changed from 0 to 1 as so : sed -r -e 's/\[[1-9]{1,2}\]//g' then, [0] would keep, that's even better, as the very last '[]' indicates any additional info Job 1960053 OTHER Abc 04-12-2012 Notes [0] thanks!! >> desired: >> Job 1960053 OTHER Abc 04-12-2012 Notes -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html