Clean up debug prompt finding regex