Any
- not alphanumeric
- non-spaces and
- feedback ASCII character
can be used as a separator.
Also, if you use opening punctuation marks as an opening delimiter:
( { [ <
then their corresponding closing punctuation characters should be used as a closing delimiter:
) } ] >
/.
, / .
:
// check if a string is number/number format:
if(preg_match(/^\d+\/\d+$/)) {
// match
}
, , .
, , , :
if(preg_match(