Very Simple PHP Regex Request

I need regex code for PHP to check if a variable (string) only contains valid allowed characters, I don't want it to remove the not-allowed, just check if it is within the allowed range, so provide an if statement with it, please. The range is: Alphanumeric and hypens. IE: ABCEDFGHIJLKMNOPQWRSTUVXYZ0123456789- Thank you for your help! ;).

## Deliverables

1) Raw PHP Source

## Platform

Regex PHP Regular Expressions

Habilidades: Vale Tudo

Ver mais: regex is, regex c, regex, php regex, c regex, regex php, platform regex, php string remove, raw php code, php remove string, simple regex, php regular, simple check code, simple characters, php code request, alphanumeric, string php, php range check, regular expressions, simple php help, statement php, php check variable, simple alphanumeric code, php code check, php characters

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

ID do Projeto: #2974253