I'm currently starting with Perl and I have a problem that I can't find solution. I have a simple html form with a text field and a submit and reset button. When the form is submitted the text in the text area should be displayed as a web page, but with all dates changed that you write in the text area from numeric to word format. Dates in numeric form have three numeric parts (day, month and year) separated by a separator, either "/" or "-". Examples of acceptable numeric dates are 8/11/99, 01/01/00, 1-5-2001. These should be converted to 8th November 1999, 1st January 2000 and 1st April 2001. It should make a suitable rule for determining the centuary for two digit years. You may assume that a date does not split across two lines but note that one line may contain several dates. Also it needs to create a suitable test data, which should be either the default text in the textarea, or which is entered into the text area by clicking a button on the form.
If you could help me with a simple script please let me know.
###############################################################
Seeking for wisdom,
Regards,
Ricardo
edit (broquaint): added formatting and removed some #s
In reply to Date pattern matching by Rpaguilar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |