
July 11th, 2012, 01:56 AM
|
|
Registered User
|
|
Join Date: Jul 2012
Posts: 3
Time spent in forums: 1 h 13 m 22 sec
Reputation Power: 0
|
|
|
Java - Regular Expression opposite
Hi All,
i had a regular expression which filters the date field MM/dd/yyyy i.e., ^(0[1-9]|1[012])[- //.](0[1-9]|[12][0-9]|3[01])[- //.](19|20)\d\d$. My question is i can filter matching records but i need which are not in this format (i need to fetch the records other than this format). for that i found (^((?!((0[1-9]|1[012])[- //.](0[1-9]|[12][0-9]|3[01])[- //.](19|20)\d\d)).)*$) in searching but it is not working in java scriptella.
please help me on this.
thanks in advance.
Anil Kumar M
|