programming-examples/python/Regular_Expression
2019-11-15 12:59:38 +01:00
..
Abbreviate 'Road' as 'Rd.py Initial commit 2019-11-15 12:59:38 +01:00
Check a decimal with a precision of 2.py Initial commit 2019-11-15 12:59:38 +01:00
Check for a number at the end of a string.py Initial commit 2019-11-15 12:59:38 +01:00
Check that a string contains only a certain set of characters.py Initial commit 2019-11-15 12:59:38 +01:00
Convert a date of yyyy-mm-dd format to dd-mm-yyyy.py Initial commit 2019-11-15 12:59:38 +01:00
Convert camel case string to snake case string.py Initial commit 2019-11-15 12:59:38 +01:00
Convert snake case string to camel case string.py Initial commit 2019-11-15 12:59:38 +01:00
Do a case-insensitive string replacement.py Initial commit 2019-11-15 12:59:38 +01:00
Extract values between quotation marks of a string.py Initial commit 2019-11-15 12:59:38 +01:00
Extract year, month and date from an url.py Initial commit 2019-11-15 12:59:38 +01:00
Find all adverbs and their positions in a given sentence.py Initial commit 2019-11-15 12:59:38 +01:00
Find all five characters long word in a string.py Initial commit 2019-11-15 12:59:38 +01:00
Find all three, four, five characters long words in a string.py Initial commit 2019-11-15 12:59:38 +01:00
Find all words starting with 'a' or 'e' in a given string.py Initial commit 2019-11-15 12:59:38 +01:00
Find all words which are at least 4 characters long in a string.py Initial commit 2019-11-15 12:59:38 +01:00
Find sequences of lowercase letters joined with a underscore.py Initial commit 2019-11-15 12:59:38 +01:00
Find sequences of one upper case letter followed by lower case letters.py Initial commit 2019-11-15 12:59:38 +01:00
Find the occurrence and position of the substrings within a string.py Initial commit 2019-11-15 12:59:38 +01:00
Find the substrings within a string.py Initial commit 2019-11-15 12:59:38 +01:00
Find urls in a string.py Initial commit 2019-11-15 12:59:38 +01:00
Match a string that contains only upper and lowercase letters, numbers, and underscores.py Initial commit 2019-11-15 12:59:38 +01:00
Match if two words from a list of words starting with letter 'P'.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a string that has an 'a' followed by anything, ending in 'b'.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a string that has an a followed by one or more b's.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a string that has an a followed by three 'b'.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a string that has an a followed by two to three 'b'.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a string that has an a followed by zero or more b's.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a string that has an a followed by zero or one 'b'.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a word at end of string, with optional punctuation.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a word at the beginning of a string.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a word containing 'z', not start or end of the word.py Initial commit 2019-11-15 12:59:38 +01:00
Matches a word containing 'z'.py Initial commit 2019-11-15 12:59:38 +01:00
Remove all whitespaces from a string.py Initial commit 2019-11-15 12:59:38 +01:00
Remove everything except alphanumeric characters from a string.py Initial commit 2019-11-15 12:59:38 +01:00
Remove leading zeros from an IP address.py Initial commit 2019-11-15 12:59:38 +01:00
Remove multiple spaces in a string.py Initial commit 2019-11-15 12:59:38 +01:00
Remove the ANSI escape sequences from a string.py Initial commit 2019-11-15 12:59:38 +01:00
Remove words from a string of length between 1 and a given number.py Initial commit 2019-11-15 12:59:38 +01:00
Replace all occurrences of space, comma, or dot with a colon.py Initial commit 2019-11-15 12:59:38 +01:00
Replace maximum 2 occurrences of space, comma, or dot with a colon.py Initial commit 2019-11-15 12:59:38 +01:00
Replace whitespaces with an underscore and vice versa.py Initial commit 2019-11-15 12:59:38 +01:00
Search a literals string in a string and also find the location where the pattern occurs.py Initial commit 2019-11-15 12:59:38 +01:00
Search some literals strings in a string.py Initial commit 2019-11-15 12:59:38 +01:00
Search the numbers (0-9) of length between 1 to 3 in a given string.py Initial commit 2019-11-15 12:59:38 +01:00
Separate and print the numbers and their position of a given string.py Initial commit 2019-11-15 12:59:38 +01:00
Separate and print the numbers of a given string.py Initial commit 2019-11-15 12:59:38 +01:00
Split a string at uppercase letters.py Initial commit 2019-11-15 12:59:38 +01:00
Split a string with multiple delimiters.py Initial commit 2019-11-15 12:59:38 +01:00
Where a string will start with a specific number.py Initial commit 2019-11-15 12:59:38 +01:00