I want to parse this json data with regex. But, i could not. I tried like this module.getid(.*), but no working.
module.getid(.*)
Only, I want to take this part -> mod
mod
Try this if you want to capture the first (demo):
/module.getid\((.*?)\); *module.getresult(?:.*?)\);$/m
If you want to capture both json strings (demo):
/module.getid\((.*?)\); *module.getresult(.*?)\);$/m