- TODO: COMPLETE THIS SECTION
- Import
import re
- Rulse
\dContains digits\DNot Contains digits\sContains a white space\SNot Contains a white space\wContains A-Z,a-z,0-9,_\WNot Contains A-Z,a-z,0-9,_\AAt Beginning\ZAt End\bAt Beginning or At End\BNot At Beginning or At End- [abc] a,b,c
- [a-c] a to c
- [^abc] Any except a,b,c
- [357] 3,5,7
- [123][645] 16, 14, ..., 35
- [0-9]+ At least One Digit
- [0-9]* At least Zero Digit like empty string
- Methods
re.findall()re.search()- Returns the position of first accurance
re.split()re.sub()
- Examples
This repository was archived by the owner on Aug 11, 2023. It is now read-only.