You are viewing a single comment's thread. Return to all comments →
First Try: tester.checker("\d\w{4}\."); // Use \ instead of using \ The Above code will run but some other test cases will fail.
Second try: tester.checker("^[\d]\w{4}[\.]$"); // Use \ instead of using \ The Above code will pass all the test cases.
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Start & End
You are viewing a single comment's thread. Return to all comments →
First Try: tester.checker("\d\w{4}\."); // Use \ instead of using \ The Above code will run but some other test cases will fail.
Second try: tester.checker("^[\d]\w{4}[\.]$"); // Use \ instead of using \ The Above code will pass all the test cases.