Friday, August 9, 2019

Regex HackerRank Solutions


Answers to every Regex puzzle. Matching Specific String: 0:30 Matching Anything But a Newline: 0:40 Matching Digits & Non-Digit Characters: 0:50 Matching Whitespace & Non-Whitespace Character: 1:00 Matching Word & Non-Word Character: 1:10 Matching Start & End: 1:20 Matching Specific Characters: 1:30 Excluding Specific Characters: 1:40 Matching Character Ranges: 1:50 Matching {x} Repetitions: 2:00 Matching {x, y} Repetitions: 2:10 Matching Zero Or More Repetitions: 2:20 Matching One Or More Repetitions: 2:30 Matching Ending Items: 2:40 Matching Word Boundaries: 2:50 Capturing & Non-Capturing Groups: 3:00 Alternative Matching: 3:10 Matching Same Text Again & Again: 3:20 Backreferences To Failed Groups: 3:30 Branch Reset Groups: 3:40 Forward References: 3:50 Positive Lookahead: 4:00 Negative Lookahead: 4:10 Positive Lookbehind: 4:20 Negative Lookbehind: 4:30 Detect HTML links: 4:40 Detect HTML Tags: 4:50 Find A Sub-Word: 5:00 Alien Username: 5:10 IP Address Validation: 5:20 Find a Word: 5:30 Detect the Email Addresses: 5:40 Detect the Domain Name: 5:50 Building a Smart IDE: Identifying comments: 6:00 Detecting Valid Latitude and Longitude Pairs: 6:10 HackerRank Tweets: 6:20 Build a Stack Exchange Scraper: 6:30 Utopian Identification Number: 6:40 Valid PAN format: 6:50 Find HackerRank: 7:00 Saying Hi: 7:10 HackerRank Language: 7:20 Building a Smart IDE: Programming Language Detection: 7:30 Split the Phone Numbers: 7:40 Detect HTML Attributes: 7:50 The British and American Style of Spelling: 8:00 UK and US: Part 2: 8:10