Showing posts with label findall function. Show all posts
Showing posts with label findall function. Show all posts

Sunday, July 25, 2021

Regular Expressions in Python | Scenario - Finding sub-string match patterns to validate a genuine number from a numeric string using Regular Expressions and search() method in Python | Conceptual Infographic Note

 


Case 01 : Ascertaining a positive match using "\w" to match a specific phone number to a generic string


Case 02 : Ascertaining a negative  match or mismatch using "\w" whether a  match over given string occurs or not

Regular Expressions in Python | Scenario - Finding a sub-string match and its count from a main string using Regular Expressions and findall() function in Python | Conceptual Infographic Note


 

Regular Expressions in Python | Scenario - Replacing a word ("sub-string") with another word ("sub-string") in a main string using Regular Expressions and substitute function in Python | Conceptual Infographic Note


 

Regular Expressions in Python | Scenario - Finding matching pattern of the main string using Regular Expressions and findall() function in Python | Conceptual Infographic Note

 


Regular Expressions in Python | Scenario - Finding Positional Indexes of each matching pattern of the main string using Regular Expressions | Conceptual Infographic Note

 


Regular Expressions in Python | Scenario - Finding and Retrieving specific sub-strings with commonality in patterns using Regular Expressions | Conceptual Infographic Note


 

Regular Expressions in Python | Scenario - Finding and Retrieving specific sub-strings with commonality in patterns using Regular Expressions | Conceptual Infographic Note

 


Regular Expressions in Python | Scenario - Finding and Retrieving specific sub-string and their cpount of occurrence from a main parent string using regular expressions | Conceptual Infographic Note


 

Regular Expressions in Python | Scenario - Finding and Retrieving specific positional indexes of sub-strings and index positions from a parent string using regular expressions and store them in one dictionary | Conceptual Inforgraphic Note

 


Regular Expressions in Python | Scenario - Finding and Retrieving specific sub-strings and integers from a parent string using regular expressions and store them in one dictionary | Conceptual Inforgraphic Note


 

Regular Expressions in Python usecase Scenario | Finding and Retrieving specific sub-strings from a parent string using regular expressions and storing in separate list | Conceptual Inforgraphic Note