How do I replace one of the matches when there are multiple regular matches?

clipboard.png
as shown in the figure: I use str.replace (/ (null) /, "jsonCallBack");
can only replace the first null,
, but what should I do to replace the third?

the following is the string
"< input type=" radio "name=" p_date_type_sl_sl_sl "value=" id_id_id_D "onclick=" ig.smartSubmit ("ccbppt_form:id_id_id_D",null,null,"ccbppt_form:id_id_id_D,ccbppt_form:parasGrid,ccbppt_form:jsCodes",null); "> < label for=" p_date_type_sl_sl_sl "> Japan < / label >"


then let the rule match only to the third null

replace(/null(?=\);)/,'jsonCallBack')

`"<input type="radio" name="p_date_type_sl_sl_sl" value="id_id_id_D" onclick="ig.smartSubmit('ccbppt_form:id_id_id_D',null,null,'ccbppt_form:id_id_id_D,ccbppt_form:parasGrid,ccbppt_form:jsCodes',null);"><label for="p_date_type_sl_sl_sl"></label>"`.replace(/null(?=\);)/,'jsonCallBack')
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1e95c-3294a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1e95c-3294a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?