Skip to content

snehalmastud/RegexSolution-HackerRank

Repository files navigation

HackerRank Regex Challenge!

Image

My Solution for HackerRank's Regex Challenge!


Table Of Contents

-Introduction

-Repetitions

-Grouping and Capturing

-Character Class

-Backreferences

-Assertions

-Applications


Introduction

-Matching Word and Non-Word Characters

-Matching Whitespace and Non-Whitespace Character

-Matching Start & End

-Matching Specific String

-Matching Digit and Non-Digit Characters

-Matching Anything But a Newline


Repetition

-Matching {x} Repetitions

-Matching {x,y} Repetitions

-Matching Zero or More Repetitions

-Matching One or More Repetitions

-Matching Ending Items


Grouping and Capturing

-Matching Word Boundaries

-Capturing and Non-Capturing Groups

-Alternative Matching


Character Class

-Matching Specific Character

-Matching Character Ranges

-Excluding Specific Characters


Backreferences

-Matching Same Text Again & Again

-Forward References

-Branch Rest Groups

-Backreferences To Fails Groups


Assertions

-Positive Lookbehind

-Positive Lookahead

-Negative Lookbehind

-Negative Lookahead


Applications

-Valid PAN Format

-Utopian Identification Number

-UK and US:Part 2

-The British and American Style Of Spelling

-Split the Phone Numbers

-Saying Hi

-IP Address Validation

-HackerRank Tweets

-HackerRank Language

-Find a Word

-Find HackerRank

-Find a SubWord

-Detecting Valid Latitude and Longitude Pairs

-Detect the Email Addresses

-Detect the Domain Name

-Detect HTML Links

-Detect HTML Tags

-Detect HTML Attributes

-Building a Smart IDE: Programming Language Detection

-Building a Smart IDE: Identifying Comments

-Build a Stack Exchange Scraper

-Alien Username


Author Info

SBM

-HackerRank

-Linkedln


Releases

No releases published

Packages

No packages published