Kavi, could you give us an example of what you are trying to do? Some sample inputs and expected output would be most helpful.
__________________________________________________
Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills