in reply to Re: Regular expression question
in thread Regular expression question

The question makes sense to me.

Only extract the number if it is in the form /^id_(\d+)(?!_)/ as solved by Samy_rio below at Re: Regular expression question.