RE: [PHP] regex

From: Date: Fri, 12 Jan 2001 23:29:06 +0000
Subject: RE: [PHP] regex
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34314@lists.php.net to get a copy of this message
I have a small phone directory bust the name listings are combined for example Schwartz Bob & Amelia 555-1212 Oxford Scirkin Bill 555-1213 Brooks I need to add a tab or a comma after the lastname so I can have as a separate field when I dump it into MySQL and there is about 3500 records and I'd hate to have to do it by hand any ideas? Jerry Lake - jerryl@-remove-europa.com -----Original Message----- From: Cynic [mailto:cynic@mail.cz] Sent: Friday, January 12, 2001 3:25 PM To: Jerry Lake; php-general@lists.php.net Subject: RE: [PHP] regex depends. is the set of strings preceeding the space limited and known, or is it something like [^abc]{3,12} ? At 00:13 13.1. 2001, Jerry Lake wrote the following: -------------------------------------------------------------- >and how would I go about that? > >Jerry Lake > >-----Original Message----- >From: Cynic [mailto:cynic@mail.cz] >Sent: Friday, January 12, 2001 3:10 PM >To: Jerry Lake; php-general@lists.php.net >Subject: Re: [PHP] regex > > >yes > >At 23:54 12.1. 2001, Jerry Lake wrote the following: >-------------------------------------------------------------- >>is it possible with regex to >>change one or more text characters >>followed by a space into the same >>characters followed by a tab? >> >>Jerry Lake >> >> >>-- >>PHP General Mailing List (http://www.php.net/) >>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >>For additional commands, e-mail: php-general-help@lists.php.net >>To contact the list administrators, e-mail: php-list-admin@lists.php.net >------end of quote------ > > > >____________________________________________________________ >Cynic: > >A member of a group of ancient Greek philosophers who taught >that virtue constitutes happiness and that self control is >the essential part of virtue. > >cynic@mail.cz > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ ____________________________________________________________ Cynic: A member of a group of ancient Greek philosophers who taught that virtue constitutes happiness and that self control is the essential part of virtue. cynic@mail.cz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#34314) next »