flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chiverton ...@extravision.com>
Subject Re: Looking for regex help
Date Wed, 08 Oct 2014 15:45:51 GMT
That's handy, [0-9]+ means at least one number :-)

Tom

On 08/10/14 16:43, mark goldin wrote:
> 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 <tc@extravision.com> 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
>>> ______________________________________________________________________
>>>
>>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message