I'm working on a Python project to find into specified strings like:
< url: 'something', uid: 'something', type: 'something' >
and i need to get the values something. Example:
String value = "url: 'abs52fs', uid: '1fg23s4', type: 'fgh54e'"
re.search("url: '(.*)', uid: '(.*)', type: '(.*)'", value)
OUTPUT: >> [abs52fs, 1fg23s4, fgh54e]
I thought to write a regular expression but it returns a NoneType Object.
Can you help me?
Regards