Reputation: 2050
how can we match non-keyboards characters using php?? characters like-- ♠♣♥♦
i want to check if a data contains non-keyboard characters and if it does i'll have to reject it as per my requirements.
Upvotes: 0
Views: 319
Reputation: 317197
Try
Example:
var_dump( mb_ereg('⊃', "≥⊂⊃⊄⊆⊇⊕⊗") ); // 1
You might want to clarify the question to get better answers/examples.
Also see
Upvotes: 1