Simple Regex problem

This one's got me stumped: Using PHP's preg_match function, check $foo to make sure it does not contain any non-word characters, except spaces, which are allowed. Only numbers, letters, and the space character are allowed. Eg., allow: $foo = "123 89 x 54" disallow: $foo = "123 89-x 54" I don't think this is going to be dark magic, it must be a fairly common thing -- I just can't get it. I think the $10 max bid is appropriate.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.

## Platform


Habilidades: Engenharia, MySQL, Perl, PHP, Arquitetura de software, Teste de Software

Veja mais: problem regex php, using regex in c, regex is, regex in c, regex c, regex &, Regex, php regex, c++ regex, c regex, regex php, platform regex, sure problem, character problem, letters character, form magic, simple program can allow, simple regex, php preg_match php, preg_match, magic numbers code, simple check code, simple characters, php problem characters, php preg_match

Acerca do Empregador:
( 23 comentários ) United States

ID do Projeto: #2975001

Concedido a:


See private message.

$7 USD em 5 dias
(1 Comentário)

3 freelancers estão ofertando em média $5 para esse trabalho


See private message.

$8.5 USD in 5 dias
(551 Comentários)

See private message.

$4.25 USD in 5 dias
(43 Comentários)

See private message.

$4.25 USD in 5 dias
(43 Comentários)