Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: ocean10000
Im working in .NET and im trying to make sure a reference entered by the user is in the correct format before using the number part of it to look up their details. Im trying to match all strings that start with WEB and are followed by a number and I want to then use the number.
I have: WEB\d as my regular expression and although this matches what I want it also lets through strings such as: "WEB1 t" and "WEB1 WEB2", which I don't want.
Please tell me what else I should do to my pattern string to get this to work. I have been researching this but im just not feeling "IT" this morning.