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
______________________________________________________________________

Reply via email to