View Full Version : Regular Expressions

11-09-2006, 08: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, 09:23 AM
Explain wat u mean by the term manipulate

11-09-2006, 02:57 PM
Yes, exactly. You need to be more specific...

Here a sample to get the country code:

echo $matches[0]; // Echoes 012 in your case

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum