What I was saying by .... is that I dont know how many numbers are going to sent to Date function.
On Wed, Oct 8, 2014 at 10:39 AM, Tom Chiverton <[email protected]> wrote: > You could just add speech marks to the end of the string if it matches > /new Date([0-9]+)/ ? Or at the .... to be matched too ? > > Tom > > > On 08/10/14 16:32, mark goldin wrote: > >> I need to come up with a regex that would do the following: >> >> source: new Date(1234567890 .....123456) >> result: "new Date(1234567890 .....123456)" >> >> Thanks for the help. >> >> >> ______________________________________________________________________ >> This email has been scanned by the Symantec Email Security.cloud service. >> For more information please visit http://www.symanteccloud.com >> ______________________________________________________________________ >> > >
