Help with RegEx
#1

I'm trying to make a Regular Expression to convert PVars to standard variables in a CTRL + H. Can someone who is good at RegEx help me? This is what I have but it doesn't fully work:

Код:
SetPVarInt((.*?), "HouseManager", (.*?));
Код:
pInfo[$2][pHouseManager] = $3;
Input:
Код:
SetPVarInt(playerid, "HouseManager", 0);
Output:
Код:
pInfo[(playerid][pHouseManager] = 0);
How can I fix the RegEx and exclude the '(' and ')'
Reply


Messages In This Thread
Help with RegEx - by lolumadd_ - 08.10.2015, 02:16
Re: Help with RegEx - by Mauzen - 08.10.2015, 02:45
Re: Help with RegEx - by Write - 09.10.2015, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)