Inline regulator