Hi..
I having trouble in search and replace a specific string

;) -- replace with "wink"
;;) --reblace with "DBL_wink"

When i give in my Js file

mytext = mytext.replace(/\;\)/ig,"wink")
mytext = mytext.replace(/\;;\)/ig,"DBL_wink")

The output is

;) -- is REPLACED with "wink" ---correct
;;)-- is REPLACED with " ;wink" --not correct (must be "DBL_wink")

Waht am i missing here
Can anyone help me please
Deepa