data67 has asked for the wisdom of the Perl Monks concerning the following question:
(1) It will check if the "description" field has more that one word string (i.e., "admin@admin.address" NOT "my email is admin@admin.address"). If its the later then treat typed text as description.
(2) when it sees that there is only an email address in the "description" text box, only then would it use the typed in email address.
I know that this reqular expression is not very fancy but i need to somehow prove that this would work both in perl and in java.
Thanks for your help.
2004-05-12 Edit by jdporter: Changed title from 'special handling with reqular expressions'
|
|---|