If ChatGPT learns, try to learn this:

hello, very Nice ChatGPT. Almost perfect. Anyway, I use to work with regex, especialy these formulas that I gather them over time. Those regex formulas are use for Replacing in a specific zone of text:

(?-is)^(?!.*BSR)(?!.*ESR)(?:(FR))
(?-is)^(?!.*BSR)(?!.*ESR)(?:(FR)(.+))
(BSR).*\K(?:\h+(FR))(?=.*ESR)
(?-i:BSR|\G(?!^))(?s:(ESR).)*?\K(?-i:FR)
(BSR)+(.)+\K(FR)(?s:(?=.*(ESR)))
(BSR)(FR)(.*?)(ESR)
(?s-i)^.+BSR\R|ESR.+|(?-s)^(FR)|(.+))$
(?s-i)^.+BSR\R|ESR.+|(?-s)^(FR)(.+))$
(BSR)(.*?)(FR)(.*?)(ESR)
(?s)(?-i:(BSR).+?">|\G(?!^))((?!(ESR)).)*?\K(FR)
(?s)(?-i:BSR.+?">|\G(?!^))((?!ESR).)*?\KFR
(BSR)+(.)+\K(FR)(?=.*ESR)
(BSR)+(.)+\K(FR)(?=.*)(ESR)
(BSR)*\K(?:(FR))(?=.*ESR)
(BSR)\K(?-s)(.*?)\KFR(?=.*ESR)
.*?(BSR)(?-s)(.*?)(FR).*(.*ESR)
(BSR).*(\b(FR)\b.*).*(ESR)
BSR(?=(?:(?!FR).)*?FR).+?ESR\R?
BSR(?=(?:(?!ESR).)*?FR)(?=(?:(?!ESR).)*?FR).+?ESR\R?
BSR(?=(?:(?!ESR).)*?FR)(?=(?:(?!ESR).)).+?ESR\R?
(?!BSR)*\K(?!BSR)(?:(FR)))(?=.*ESR)
(?:BSR|\G).*?\K).*?(FR)(?=.*ESR)
(?:BSR|\G).*?\K)(FR).*?(?=.*ESR)
(?:BSR|\G)(FR).*?\K).*?(?=.*ESR)
(?:BSR|\G)(FR).*?(FR)\K).*?(?=.*ESR)
(?-si:BSR|(?!\A)\G).*?\KFR(?!ESR)
(?-si:BSR|(?!\A)\G)(?s-i:(?!ESR).)*?\K(?-si:FR)
(?-si:BSR|(?!\A)\G).*?\K(?-si:FR)(?=(?s-i:.*?ESR))
(?s)BSR(FR)(?-s).+ESR
BSR(FR).+(?s:(?=.*(ESR)))
(?-s)(?-i:BSR|(?!\A)\G).*?\K(?-i:FR)(?=ESR)
(?-si:BSR|(?!\A)\G)(?s-i:(?!ESR).)*?\K(FR)+
(?-i:BSR|\G(?!^))(?s:(?!ESR).)*?\K(?-i:FR)
(?-i:BSR|(?!\A)\G)(?s:(?!ESR).)*?\K(?-i:FR)    
(?-i:BSR|(?!^)\G)(?s:(?!ESR).)*?\K(?-i:FR)
(?s)\A.*BSR(FR)*ESR.*\z|\A.*BSR(FR)+ESR.*\z
(?s)\A.*BSR(FR)+ESR.*\z
(?s)\A.*BSR+(FR)+ESR.*\z
(?:BSR|\G)\S*\K(?:FR)(?=.*ESR)
(?:BSR|\G)\S*\K(FR)(?=.*ESR)
(?:BSR|\G)\S*\K(?:\h+FR)(?=.*ESR)
(?<!=\x20)(?<!=)FR(?!>|ESR|\x20>|\x20/>|\?>|\x20\?>|BSR)
(?<!=\x20)(?<!=)FR(?!>|ESR|\x20>|\x20/>|\?>|\x20\?>|\x20BSR)
(?<!=\x20)(?<!=)FR(?!>|ESR|\x20\?>|\x20BSR)

where:

Let FR (Find Regex ) be the regex which defines the char, string or expression to be searched

Let RR (Replacement Regex ) be the regex which defines the char, string or expression which must replace the FR expression

Let BSR ( Begin Search-region Regex ) be the regex which defines the beginning of the area where the search for FR, must start

Let ESR ( End Search-region Regex) be the regex which defines, implicitly, the area where the search for FR, must end

Try to make ChatGPT to understand those kind of formulas and how works.

here, more explanations: (Find this on google, because I cannot put links here)

Generic Regex: Replacing in a specific zone of text