View Full Version : Regular Expressions
11-09-2006, 09:55 AM
Hi I need help on regular expressions:. I need to know how to manipulate the telephone data on the form. e.g. if the user inserts, (012)7993456.
11-09-2006, 10:23 AM
Explain wat u mean by the term manipulate
11-09-2006, 03:57 PM
Yes, exactly. You need to be more specific...
Here a sample to get the country code:
echo $matches; // Echoes 012 in your case
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.