Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » function
  • Dumb regex for newbie

    Hola again. I need help!! I need to extract function name and params (no nested functions or strings, just values and vars) I kind of am able to match one of the following cases, but I can't make it to match all!   function_name() function_name( 'param', $paramt ) function_name( 25, "param" ) function_name( ...
    Posted to Construction Advice (Forum) by sergiozambrano on July 2, 2010
  • Looking for a generic replace function

    My requirement is to search through a string for the existence of an editor entered tag. each one should be replaced by some script and the end of the tag replace with some closing script whilst the 'tag content' should remain.  I tried with the following but it doesn't seem to like it! any ideas...  Set objRegExp = New ...
    Posted to Discussion (Forum) by dylan on October 5, 2009
  • Capture function call arguments

    Hi, I would like to parse some source code files for a particular function call. I am interested in the arguments sent to the function "Language::get()". If you consider this code snippet $hello = Language::get('key1', array('firstName',$firstName), array('lastName', $obj->getLastName($arg1->get(), $arg2)) ...
    Posted to Construction Advice (Forum) by kajic on July 27, 2008