python regex match from end of string to midle of string code example
Example: regex to end with python
import re
str = 'Python is a programming language'
#search using regex
x = re.search('language$', str)
import re
str = 'Python is a programming language'
#search using regex
x = re.search('language$', str)