Please enable JavaScript.
Coggle requires JavaScript to display documents.
10.1.2 RegEx (What if pattern is more restricted? (^ (when not in square…
10.1.2 RegEx
-
-
-
repetitions and captures
captures: refer to explicit notation (capturing) of any substring matching a RegEx pattern that can then be used to create a new column for use in machine learning
repetition patterns may be surrounded with parantheses to capture any substring that fits the pattern specified
goal: extracts instances and allows for creation of new column containing T or F value (is pattern matched or not?)
-
repetition: refers to occurrences in which it makes sense to specify that a pattern repeats a certain number ot imes within a string being analyzed
*
-
allows for RegEx pattern to be skipped entirely if it doesn't exist ina string (0 matches) or be matched many times
-
-
{}
specifies exactly how may times a pattern can appear with the possibility of including lower and upper bounds
-
find, replace, extract content from text
-
-