I know this is probably quite straightforward but cannot seem to find an example of what I’m trying to do.
Matching from start of a string, i want to match building numbers.
i.e.
60 would match 60A and 60 but not 6000
likewise
1 would match 1 and 1ABC but not 11
/^1[^\0-9]*
is like what i need, matching 1 and any non numeric value any number of times. (granted this is from expresso – (.net) but it doesn’t work in there.
can anybody point me in the right direction?
thanks,
Sam
\0means something else0-9is the same as\d