Regular expression to extract text in python

I am new using the re library and I would like to know if somebody knows how to extract the following text: Initial ‘[p]I am a test paragraph[/p]’ Output I am a test paragraph I tried to use the following line : text = ‘[p]I am a test paragraph[/p]’ param = re.findall("[p](.*?)[/p]]", text) but the… Read More Regular expression to extract text in python