Skip to content

Latest commit

 

History

History
197 lines (147 loc) · 5.22 KB

README.md

File metadata and controls

197 lines (147 loc) · 5.22 KB

Regular Expressions

I know regular expressions

Source: xkcd

Resources for learning regular expressions -

  1. Wikipedia
  2. Beginner's Guide - Blog Post This is the best post to learn regular expressions fast with all the basics.
  3. Regular Expression info Advanced in-depth tutorial about all regular expression topics

Online Practice tools -

  1. Regex101 (I personally prefer this, as this also explains and has all different regex engines.)
  2. Regexr

Different Regex Engines -

  1. C#
  2. Ruby
  3. PHP
  4. Perl (PCRE - Perl Compatible Regular Expressions)
  5. Java
  6. JavaScript
  7. Python

Advanced Topics -

  • Conditionals
  • Atomic Groups
  • Look Arounds [IMP]
  • Named Capture
  • Inline modifiers
  • Subroutines
  • Recursive expressions
  • Predefined subroutines
  • Branch reset
  • Inline comments

Cheat Sheets -

  1. https://dzone.com/refcardz/regular-expressions
  2. http://www.rexegg.com/regex-quickstart.html

Online Challenges -

Link Complexity
https://www.hackerrank.com/domains/regex/re-introduction Beginner - Intermediate
https://regex.sketchengine.co.uk/ Beginner - Advanced
https://regexcrossword.com/ Beginner - Advanced
https://regexone.com/ Beginner
http://play.inginf.units.it/#/ Advanced

Regex Crossword

Solution to RegexCrossword

My Profile - Regex Crossword Profile

Rank - 45 Out Of 47450

Rank

Number of Puzzles Solved - 392

Number of puzzles solved

Top Player Stats and Ranking

Underscore '_' represents SPACE

1. Tutorial

Level Name Solution
1 The OR symbol A
2 A Range of characters B
3 Characters NOT to include C
4 Zero or more A A
5 Zero or one A B
6 One or more A A
7 Backreference A A
8 Specific amount A A
9 Space ' '

2. Beginner

Level Name Solution
1 Beatles HELP
2 Naughty BOBE
3 Ghost OOOO
4 Symbolism **//
5 Airstrip One 1984

3. Intermediate

Level Name Solution
1 Always remember ATO WEL
2 Johnny WA LK ER
3 Earth FOR TY- TWO
4 Encyclopedia DON TPA NIC
5 Technology TURN OFFA NDON

4. Experienced

Level Name Solution
1 Royal Dinner FOODF ITFOR AKING
2 Regular Workout REGUL AREXP RESSI ONOFT HEDAY
3 We apologise for the inconvenience ANSWE RTHEG REATQ UESTI ONNOW
4 Questionable ?!!!? !?!?! !!?!! !?!?! ?!!!?
5 Hamlet TOBEO RNOTT OBEAR EGULA RREGX

5. Palindromeda

Level Name Solution
1 Ten o'clock NET EWE TEN
2 Third GEL EYE LEG
3 Horn RATS ABUT TUBA STAR
4 Open the lid TRAP RAJA AJAR PART
5 Time Walker STEP TIME EMIT PETS

6. Double Cross

Level Name Solution
1 Telekinesis ET
2 GMC Vandura A-T EAM
3 Bat Man NOS FER ATU
4 Big Mac PUL P_F ICT ION
5 The Lektor Device FRO M_R USS IA_ WIT H_L OVE

7. Cities

Level Name Solution
1 Pisco Sour LI MA
2 Roman Latin LON DIN IUM
3 Big and hot NEW_ YORK
4 Alpha World City KUAL A_LUM PUR
5 Home _CO PEN HAG EN_

8. Volapuk

Level Name Solution
1 Bal GPO ZKS
2 Tel M0Y P.H P\2
3 Kil M?BO SNUO ?PYO
4 Fol 70MW /DBE 1_SP :XNA
5 Lul TRAN7 24L?_ AM5$L -WE3O DEFF?

9. Hamlet

Level Name Solution
1 The Ghost REVENGE _HIS_FO UL_AND_ MOST_UN NATURAL _MURDER
2 Hamlet and Ophelia TO_BE,_ OR_NOT_ TO_BE,_ THAT_IS _THE_QU ESTION_
3 The Play HE_POIS ONS_HIM _I'_THE _GARDEN
4 Laertes TOO_MUC H_OF_WA TER_HAS T_THOU, _POOR_O PHELIA!
5 Memento ALAS,_ POOR_Y ORICK! _..._A _FELLO W_OF_I NFINIT E_JEST
6 The End NOW_C RACKS _A_NO BLE_H EART. _GOOD _NIGH T,_SW EET_P RINCE

10. Hexagonal

Level Name Solution
1 Buzz buzz H IV E
2 Garden FL RO! WE
3 Pollen SES A"ED .B.B_ I_D" R.N
4 Stationary S_E_ ASVTL "OET"L B_S=___ YSOEIY VTTEM FR_A
5 Winnie 'NIB THOSE TFA__W TH_ISNG BEEEEEEE O_RR_HO _STE__ KING_ VNR.

Player Puzzles

Sr.No. Name Created By Solution
1 Binary #6450 11001 11100 01010 01111 00001
2 Letter #2009 TH_IS I_S_L _ETT_ _____ _ERA_
3 Morse #2009 .-. . --. . -..- -.-. .-. -.-. .-. --- ... ... .-- --- .-. -.. .. ... -.-. --- --- .-.. (REGEXCRCROSSWORDISCOOL)
4 Regex Picross #3162 Picross Solution
5 Unique Puzzle #21964 8259173064!
6 Checkmate, Atheists #14171 Checkmate Solution

Regular Expressions