Regex Find and Replace in Pine Script

Viewed 22

Can someone give an example of how to use the Find and Replace using Regex feature in Pine? I'd like to use regex to find all text with numbers in the middle and end like:

abc_1_xyz10
abc_1_xyz11
abc_1_xyz12
abc_2_xyz10
abc_2_xyz11
abc_2_xyz12
0 Answers
Related