M
Mac McMicmac
I need a regular expression that will match a string (retrieved from a
TextBox in the UI). I need to verify that the string represents a fully path
to a file.
I know these things can get pretty complex - so I'd be happy to keep it
simple by having the expression simply verify the text entered into the
textbox ends with .doc, .wav, or .pdf.
If it's not too much to ask, I'd like for the expression to ensure that
there is at least one \ followed by at least one character which preceeds
any of the three extensions listed (.doc, .wav, or .pdf).
Thanks
TextBox in the UI). I need to verify that the string represents a fully path
to a file.
I know these things can get pretty complex - so I'd be happy to keep it
simple by having the expression simply verify the text entered into the
textbox ends with .doc, .wav, or .pdf.
If it's not too much to ask, I'd like for the expression to ensure that
there is at least one \ followed by at least one character which preceeds
any of the three extensions listed (.doc, .wav, or .pdf).
Thanks