Check for invalid characters in a php string

bit.exe

New Member
How can i check to see if a php string contains only 0-9 , and |? so it would accept \[code\]158,147|157,541|145,157\[/code\] but not \[code\]125 ,148|126,4\[/code\]
 
Back
Top