Hi all,
Im trying to create a very simple procedure in VB.NET that gets a string and gives back a boolean indicating if the string matches a certain template. For example...
if the string is: abcdefg
and the template is: *cd?f*
(* indicates zero or multiple characters and ? indicates a single character)
then in this case the string does match the template.
Im trying to mess around with regular expression unsuccesfully.
Anyone?
(A sample code will be very helpful)
Thanks.
Im trying to create a very simple procedure in VB.NET that gets a string and gives back a boolean indicating if the string matches a certain template. For example...
if the string is: abcdefg
and the template is: *cd?f*
(* indicates zero or multiple characters and ? indicates a single character)
then in this case the string does match the template.
Im trying to mess around with regular expression unsuccesfully.
Anyone?
(A sample code will be very helpful)
Thanks.
Last edited by a moderator: