theblain Posted August 21, 2006 Share Posted August 21, 2006 Here's what I'm trying to do;I have a form that includes a large input box where you can copy and paste email messages. What i'm WANTING to do is, when a user pastes the email into the input box, PHP will find character sequences like 555-2484 as ###-#### and know it's a phone number and paste that phone number in the "Phone" field. More importatnly, I'm looking to extract container numbers out of the email which are always L=Letter N=Number: LLLLNNNNNNN Any pointing in the right direction would be appreciated.-theblain Quote Link to comment Share on other sites More sharing options...
Caesar Posted August 21, 2006 Share Posted August 21, 2006 You need to look into PHP regular expressions.http://www.php.net Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.