Need a lot more detail. However here is a taste to get started.
This one tests for a number to the left of a slash.
IsNumeric(Left({expression},Instr({expression},"/")-1))
You will be setting up this in a function I expect as an expression in a query will likely become very unweildy.