preg_match help! |
[eluser]mparas[/eluser]
Hi guys! May i ask if how to get this sal_ok in this string sal_ok(new_sal, new_wage) i have this pattern #\(.+\)#U but it only returns (new_sal, new_wage) i want to get the word sal_ok please help me..
[eluser]DjLeChuck[/eluser]
Hi mparas, Maybe with this pattern ? [a-z_]*\(.+\) I'm not sur... Can you give your code or explain what you want to do ?
[eluser]InsiteFX[/eluser]
Here is a very nice regex tester online, if you look at the bottom right hand side of the screen you can download a desktop verison! Regex tester InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |