I'm having trouble finding the appropriate regex pattern to that will match each variation of the following:
regular expression
regular-expression
regular:expression
regular&expression
I am provided with the following string which I would need to use the findall() method to match each occurence listed above:
str="This is a string to search for a regular expression like regular expression or regular-expression or regular:expression or regular&expression"