regex to refactor elseif block to select case format

/ Published in: Regular Expression
Save to your folder(s)

Requirement from work was to refactor an 8000 line if elseif code block to select case syntax. Not a manual task, even for a 1984 olympics button bashing champ.

note, id is the test variable here,
as in
elseif (id ="test") then ...

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.