Originally posted by Ankit Garg:
Cheerup Deepad
Well as far as I remember, someone posted an illegal link on it... Am I right??? It might have been deleted because of that...
it was like this
\\b\\d\\b and a string like 1,1,2,3,5,8,13... right???
That's basically how I remember it (although I think it would have been \\d+). The numbers are/were a Fiboncci sequence with . or , delimiting characters. The regular expression matches each one or more digit sequence (\d+) starting at and ending at a
word boundary (\b). As was pointed out in the original
thread a introductory Regular Expression tutorial is needed rather than Java specific knowledge.
thanks,
Graeme