Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joannescode/regex-with-py
https://github.com/joannescode/regex-with-py
data-analysis python3 regex
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/joannescode/regex-with-py
- Owner: joannescode
- Created: 2024-09-08T14:38:29.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T15:10:05.000Z (2 months ago)
- Last Synced: 2024-09-08T16:50:13.235Z (2 months ago)
- Topics: data-analysis, python3, regex
- Language: Jupyter Notebook
- Homepage:
- Size: 326 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# regex-with-py
Regex is necessary for analysts and data extractors (RPA and Web Scraping), as it is very useful in cases where data is dirty, messy or "encrypted".
## Useful links for learning:
- [Learn Regex](https://github.com/ziishaned/learn-regex)
- [Regex Google Developers](https://developers.google.com/edu/python/regular-expressions?hl=pt-br)## Query tables:
![Metacaracter](images/metacaracter.png)
![Joints](images/joints.png)
![Metacaracter](images/lookaround.png)
![Flags](images/flags.png)## Tips for using regex:
- For JSON files, use re.findall, because it is necessary a visualization from complete JSON.
- Use marks in string if possible, this facility analysis and montage with regex, example: [+55 84 2060 8159], first condition and logic (+55), second (84), third (2060) and fourth (8159).
- Where existing multiple's data in scope, find patterns and separate in different rules.