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: regular expressions c, regex is, regex c, c regular expressions, regex &, Regex, php regex, c++ 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

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

ID do Projeto: #2974253