RegEx

 /hello/

/(h|H)ello/

/.ello/



const text ='hello'

const regex= new RegExp('lvl')


console.log(regex.test(text))

// true

https://regex101.com/

exec

match

PATTERN

(H|h)ello  => hello or Hello


(H|h)?ello making hH optional


Ranges and quantifiriers

any char in the brackets

[tse]

[a-zA-Z]




Python-1

Python Revision Notes - Comprehensive Study Guide Section 1: Python Environment Setup 4. Different Ways of Creating Python Environment [...