You are viewing a single comment's thread. Return to all comments →
http://www.wikipedia.com.http://www.hackerrank.com
because the last test case not starting with w{3} thats why these two solution not acceptable
^\w{3}\W{1}\w+\W{1}\w{3}$ Or ^\w{3}\W{1}\w+\W{1}\w{3}
Seems like cookies are disabled on this browser, please enable them to open this website
Matching Word & Non-Word Character
You are viewing a single comment's thread. Return to all comments →
http://www.wikipedia.com.http://www.hackerrank.com
because the last test case not starting with w{3} thats why these two solution not acceptable
^\w{3}\W{1}\w+\W{1}\w{3}$ Or ^\w{3}\W{1}\w+\W{1}\w{3}