I\'m working on a solution to a previous question, as best as I can, using regular expressions. My pattern is
\"\\d{4}\\w{3}(0[1-9]|[12][0-9]|3[01])([01][0-
all you need to do is to put
*\ ex: string ex = 'this is the character: *\\s';
before your invalid character and not 8 \ !!!!!