Regex: How can I get the parameter from function?
- by Xi
Hi there:
I am working on getting parameter from a function string. For example, my function is named "translate". So all I need to do is to get everything inbetween "translate(" and ")".
Is there a way that i can use regex to do that? So far I have something like:
"/translate\((?<keyName>*)\)/i"
Unfortunately it's not working. Can anybody help me with this one?
Thanks a lot!