Regex playground

//

  
  
Cheat sheet
. any character\d \w \s digit, word, space[abc] one of[^abc] none of^ $ start, end\b word boundary* + ? 0+, 1+, 0–1{2,5} 2 to 5 times(…) capture group(?<n>…) named group(?:…) no capturea|b either(?=…) lookahead*? lazyg i m s u flags