The repository contains a collection of different programming snippets to different programming languages from own developments as well as other projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Michael Reber b880c3ccde Initial commit 3 years ago
..
Abbreviate 'Road' as 'Rd.py Initial commit 3 years ago
Check a decimal with a precision of 2.py Initial commit 3 years ago
Check for a number at the end of a string.py Initial commit 3 years ago
Check that a string contains only a certain set of characters.py Initial commit 3 years ago
Convert a date of yyyy-mm-dd format to dd-mm-yyyy.py Initial commit 3 years ago
Convert camel case string to snake case string.py Initial commit 3 years ago
Convert snake case string to camel case string.py Initial commit 3 years ago
Do a case-insensitive string replacement.py Initial commit 3 years ago
Extract values between quotation marks of a string.py Initial commit 3 years ago
Extract year, month and date from an url.py Initial commit 3 years ago
Find all adverbs and their positions in a given sentence.py Initial commit 3 years ago
Find all five characters long word in a string.py Initial commit 3 years ago
Find all three, four, five characters long words in a string.py Initial commit 3 years ago
Find all words starting with 'a' or 'e' in a given string.py Initial commit 3 years ago
Find all words which are at least 4 characters long in a string.py Initial commit 3 years ago
Find sequences of lowercase letters joined with a underscore.py Initial commit 3 years ago
Find sequences of one upper case letter followed by lower case letters.py Initial commit 3 years ago
Find the occurrence and position of the substrings within a string.py Initial commit 3 years ago
Find the substrings within a string.py Initial commit 3 years ago
Find urls in a string.py Initial commit 3 years ago
Match a string that contains only upper and lowercase letters, numbers, and underscores.py Initial commit 3 years ago
Match if two words from a list of words starting with letter 'P'.py Initial commit 3 years ago
Matches a string that has an 'a' followed by anything, ending in 'b'.py Initial commit 3 years ago
Matches a string that has an a followed by one or more b's.py Initial commit 3 years ago
Matches a string that has an a followed by three 'b'.py Initial commit 3 years ago
Matches a string that has an a followed by two to three 'b'.py Initial commit 3 years ago
Matches a string that has an a followed by zero or more b's.py Initial commit 3 years ago
Matches a string that has an a followed by zero or one 'b'.py Initial commit 3 years ago
Matches a word at end of string, with optional punctuation.py Initial commit 3 years ago
Matches a word at the beginning of a string.py Initial commit 3 years ago
Matches a word containing 'z', not start or end of the word.py Initial commit 3 years ago
Matches a word containing 'z'.py Initial commit 3 years ago
Remove all whitespaces from a string.py Initial commit 3 years ago
Remove everything except alphanumeric characters from a string.py Initial commit 3 years ago
Remove leading zeros from an IP address.py Initial commit 3 years ago
Remove multiple spaces in a string.py Initial commit 3 years ago
Remove the ANSI escape sequences from a string.py Initial commit 3 years ago
Remove words from a string of length between 1 and a given number.py Initial commit 3 years ago
Replace all occurrences of space, comma, or dot with a colon.py Initial commit 3 years ago
Replace maximum 2 occurrences of space, comma, or dot with a colon.py Initial commit 3 years ago
Replace whitespaces with an underscore and vice versa.py Initial commit 3 years ago
Search a literals string in a string and also find the location where the pattern occurs.py Initial commit 3 years ago
Search some literals strings in a string.py Initial commit 3 years ago
Search the numbers (0-9) of length between 1 to 3 in a given string.py Initial commit 3 years ago
Separate and print the numbers and their position of a given string.py Initial commit 3 years ago
Separate and print the numbers of a given string.py Initial commit 3 years ago
Split a string at uppercase letters.py Initial commit 3 years ago
Split a string with multiple delimiters.py Initial commit 3 years ago
Where a string will start with a specific number.py Initial commit 3 years ago