Skip to Content
0
Former Member
Nov 12, 2010 at 10:11 AM

Separator in script in place of 3 consecutive $

25 Views

Hi,

I ahve a requirement in script if I found 3 consecutive $(i.e. $$$) i have to replace it with a line separator.

E.g. Text1$$$Text2

output

Text1

______________________________________________________________________

Text2

or text1$$$$$$Text2

Output

Text1

______________________________________________________________________

______________________________________________________________________

Text2

Can any one help me how I can do this

Edited by: Suchender Dagar on Nov 19, 2010 8:09 AM