javascript - Regex - replace end of line, not string? -
i building foxpro c# conversion , replacing common foxpro syntax work in c#.
'if' becomes 'if (' 'else' becomes '} else {' 'endif' becomes '}' now need able identify end of line on if statement can close ) {. how can accomplish via regex/jquery?
Comments
Post a Comment