Find
\{C_([A-Za-z0-9]*)_Panelview(.)(?:0)?(\d*)(_)?(?:0)?(\d*)?\}
Replace
{[PLC_05052]C_$1_Panelview[$3]$5}
Example text block before
{C_OP700_Panelview_424}
{C_OP700_Panelview_00}
{C_OP700_Panelview_10_00}
{C_OP700_Panelview_06_10}
{C_OP700_Panelview_32}
{C_OP700_Panelview_10_11}
{C_OP700_Panelview_500}
{C_System_Panelview_424}
{C_System_Panelview_00}
{C_System_Panelview_10_00}
{C_System_Panelview_06_10}
{C_System_Panelview_32}
{C_System_Panelview_10_11}
{C_System_Panelview_500}
Example text block after
{[PLC_05052]C_OP700_Panelview[424]}
{[PLC_05052]C_OP700_Panelview[0]}
{[PLC_05052]C_OP700_Panelview[10]0}
{[PLC_05052]C_OP700_Panelview[6]10}
{[PLC_05052]C_OP700_Panelview[32]}
{[PLC_05052]C_OP700_Panelview[10]11}
{[PLC_05052]C_OP700_Panelview[500]}
{[PLC_05052]C_System_Panelview[424]}
{[PLC_05052]C_System_Panelview[0]}
{[PLC_05052]C_System_Panelview[10]0}
{[PLC_05052]C_System_Panelview[6]10}
{[PLC_05052]C_System_Panelview[32]}
{[PLC_05052]C_System_Panelview[10]11}
{[PLC_05052]C_System_Panelview[500]}
Can I substitute the $4 with the literal character "."? What would the syntax be? This is sort of a general question because AFR is not the only tool I use for this type of work.
Also, there was another post on the board where it was suggested that there is plenty of help for you to eventually figure out the syntax for the match (RegexBuddy has been helping me
