7 python script for Regular Expression

Job ID: 33193501

Budget: $30 – $250 USD

Write a python script to extract and list all words that meet the following conditions:
--> Note | Q1 and Q6 and q7 run on the data that I provide on the attached


1. Words with two consonants next to each other.
2. Words of length 5 or more that start and ends with a vowel.
3. Words of length 6 or more start with a consonant and end with a vowel.
4. List all the letters that follow a vowel according to their occurrence frequency.
5. Abbreviate 2-3 words that all start with a capital letter, e.g. King Saud University will become KSU. So for example, I studied in King Saud University, which is in Riyadh, the capital of Saudi Arabia; becomes I studied in KSU, which is in Riyadh, the capital of SA.
6. Extract all the words in a given string written in the camel case. A string is camel case if each word in the middle begins with a capital letter, with no spacing in between, e.g. KingSaudUniversity, RegularExpression, and ThisIsASimpleVariable.
7. Recursively remove all consecutive k identical characters from a string. For example, for k = 2, “abccbcbb” -> “abbc” -> “ac”.