|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
problem with preg_match()
hi,
i'm trying out some regular expressions to match a certain string. when i try: preg_match ("([0-9]|[a-z]|[A-Z]){6}[0-9]{12}",$commonname,$result); i get the error: Warning: Unknown modifier '{' what does this mean? my guess is the {6} and {12} but aren't these valid regular expressions? thanks. |
|
#2
|
|||
|
|||
|
RE: problem with preg_match()
|
|
#3
|
|||
|
|||
|
RE: problem with preg_match()
Hi CodeGirl,
With ereg it works fine, thanks a lot. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > problem with preg_match() |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|