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 Link to comment https://forums.phpfreaks.com/topic/18230-character-recognition/ 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 Link to comment https://forums.phpfreaks.com/topic/18230-character-recognition/#findComment-78260 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.