Click here to Skip to main content
15,913,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi

1,what is the regular expression of 03/06/2009
in javascript



2,Also how to convert
Basic into javascript

INPUT A,B
IF B=0 THEN GOTO 80
IF A > B THEN GOTO 60
LET B=B-A
GOTO 20
LET A=A-B
GOTO 20
PRINT A

PLEASE HELP ME
Posted
Comments
Andreas Gieriet 16-Apr-14 19:28pm    
Your first question does not make sense. It's like asking "what is the road for my car".
The second question is homework - do it yourself if you want to learn something. BTW: without line numbers, you cannot convert to anything. I would say, both question as stated have no sane answer.
Cheers
Andi
Mary Abraham 16-Apr-14 21:14pm    
Thanks will do.
Sergey Alexandrovich Kryukov 16-Apr-14 19:54pm    
1) Regular expression for 03/06/2009 is 03\/06\/2009. Or you are not telling us something? :-)
2) Oh, my God!
—SA
Mary Abraham 16-Apr-14 21:13pm    
Hi I am asking how to find 03/06/2009 using regular expression using javascript
Sergey Alexandrovich Kryukov 16-Apr-14 22:11pm    
And you still cannot understand that I already gave you this regular expression?
Please, if you want to troll someone, at least don't repeat yourself.
—SA

1 solution

Regular expression for the date is
[0-9][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]

BUt if you want regular expression for only particular date 03/06/2009
then date itself is the pattern

03/06/2009
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900