πŸ•ΈοΈ
Deep Learning
  • πŸ’«Deep Learning Notes
  • πŸ’ΌPractical Tools
  • πŸ’ŽConcepts of Neural Networks
    • 🌱Introduction
    • πŸ”ŽThe Problem in General
    • πŸ‘·β€β™€οΈ Implementation Notes
    • πŸ“šCommon Concepts
    • πŸ’₯Activation Functions
    • 🎈Practical Aspects
    • πŸ‘©β€πŸ”§ NN Regularization
    • ✨Optimization Algorithms
    • 🎨Softmax Regression
    • πŸƒβ€β™€οΈ Introduction to Tensorflow
    • πŸ‘©β€πŸ’» Python Code Snippets
  • πŸ™‹β€β™€οΈ Hello World of Deep Learning with Neural Networks
    • 🌱Introduction
    • 🌐CNNs In Browser
  • πŸšͺIntroduction to Computer Vision
    • 🌱Introduction
  • 🚩Concepts of Convolutional Neural Networks
    • 🌱Introduction
    • πŸ“ŒCommon Concepts
    • 🌟Advanced Concepts
    • πŸ‘€Visualization
    • πŸ‘΅Classic Networks
    • ✨Other Approaches
    • πŸ•ΈοΈCommon Applications
  • πŸ‘©β€πŸ’» Works and Notes on CNNs
    • 🌱Introduction
  • πŸ’„Popular Strategies of Deep Learning
    • 🌱Introduction
    • πŸš™Transfer Learning
    • πŸ“šOther Strategies
  • 🀑Image Augmentation
    • 🌱Introduction
  • πŸ€Έβ€β™€οΈ Notes on Applied Machine Learning
    • 🌱Introduction
    • πŸ‘©β€πŸ”§ Notes on Structuring Machine Learning Projects
    • πŸ‘©β€πŸ« Implementation Guidelines
  • πŸ•΅οΈβ€β™€οΈ Basics of Object Detection
    • 🌱Introduction
    • β­•Region-Based CNNs
    • 🀳SSD and YOLO
    • πŸ€–TensorFlow Object Detection API
    • 🐞Model Debugging
  • ➰Sequence Models In Deep Learning
    • 🌱Introduction
    • πŸ“šGeneral Concepts
    • πŸ”„Recurrent Neural Networks
    • 🌌Vanishing Gradients with RNNs
    • 🌚Word Representation
    • πŸ’¬Mixed Info On NLP
  • πŸ’¬NLP
    • 🌱Introduction
  • πŸ’¬Applied NLP
    • πŸ™ŒπŸ» Handling texts
    • 🧩Regex
  • πŸ‘€Quick Visual Info
  • πŸ“šPDFs that I found and recommend
Powered by GitBook
On this page
  • πŸ“• Notebooks
  • 🚩 Meta Characters
  • 🎎 Character Matches
  • πŸŽ‡ Character Symbols
  • πŸ’« Repetitions
  • 🧐 Useful Examples
  • πŸ”— References

Was this helpful?

Export as PDF
  1. Applied NLP

Regex

PreviousπŸ™ŒπŸ» Handling textsNextQuick Visual Info

Last updated 4 years ago

Was this helpful?

πŸ“• Notebooks

🚩 Meta Characters

🎎 Character Matches

πŸŽ€ Symbol

πŸ“ƒ Description

.

Single character

^

Start of a string

$

End of a string

[]

One of the set of characters within []

[a-z]

One of the range of characters

[^abc]

Not a, b or c

[ab]

a or b (a and b are strings)

()

Scoping for operators

(?:<pattern>)

\

Escape character

πŸŽ‡ Character Symbols

πŸŽ€ Symbol

πŸ“ƒ Description

🀯 Equivalent

\b

Word boundary

\d

Any digit

[0-9]

\D

Any non-digit

[^0-9]

\s

Any whitespace

[ \t\n\r\f\v]

\S

Any non-whitespace

[^ \t\n\r\f\v]

\w

Alphanumeric character

[a-zA-Z0-9_]

\W

Non-alphanumeric character

[^a-zA-Z0-9_]

πŸ’« Repetitions

πŸŽ€ Symbol

πŸ“ƒ Description

*

Zero or more occurrences

+

One or more occurrences

?

Zero or one occurrences

{n}

Exactly n repetitions

{n,}

At least n repetitions

{,n}

At most n repetitions

{m,n}

At least m and at most n repetitions

🧐 Useful Examples

🧩 Regex

πŸ“œ Description

^.*SOME_STRING.*\n

Finds all lines start with specific string

πŸ”— References

Passive grouping ()

πŸ›

πŸ’¬
🧩
⭐ Regex Examples
🐼 String Processing with Pandas
πŸ“ƒ Regex Cheat sheet
πŸƒβ€β™€οΈ Regex quick start
Regex debugger
πŸ‘€ Regex debugger and visualizer
details