I have table with field called description which contains text like following
|Description | |----------------------------------
In short, you can't, you need a more advanced language like PHP. Your SQL query is not the place to be doing string manipulation.