Regular expression, how can I format it?

T

ThunderMusic

Hi,
In fact, I would like to have two answers

1) Is there a place where I can get escape sequences needed to build regular
expressions?
2) what would be the regular expression for a tring that must always for
formated this way : Z9Z 9Z9 or z9z 9z9 or z9z9z9 or Z9Z9Z9 (canadian postal
code)?

thanks

ThunderMusic
 
T

ThunderMusic

thanks a lot


"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:Oj1S%[email protected]...
Visit:
http://www.regexlib.com/

but
^[a-zA-Z]\d[a-zA-Z] ?\d[a-zA-Z]\d$

Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/


ThunderMusic said:
Hi,
In fact, I would like to have two answers

1) Is there a place where I can get escape sequences needed to build
regular expressions?
2) what would be the regular expression for a tring that must always for
formated this way : Z9Z 9Z9 or z9z 9z9 or z9z9z9 or Z9Z9Z9 (canadian
postal code)?

thanks

ThunderMusic
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top