I want to define (#define) 10 IR with its respective pin numbers
#define IR1 A1
#define IR2 A2
....
#define IR10 A10
the difference is in only digits, it just incrementing by 1
how to use regex to copy
#define IR1 A1
and paste as
#define IR2 A2
and so on...
and at last, I want to write only one line code and get 9 or more lines of code,
there is no need knowledge of Arduino, just I want to get an incremental copy of
#define IR1 A1