regex - Replacing digits immediately after a saved pattern -


searched pattern looks text9

i search (text)9

i want replace \15 text5 instead it's giving me text.

any other character works except digits.

as turns out, pcre-style back-references not work.

so, have use \015 replace text captured first capturing group (\01) , 5.

since there cannot more 99 capturing groups, , both digits after \ treated back-reference group number, \01 interpreted reference first group, , rest literal digits.


Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -