Hi all,
I want to replace in this:
12/3 >> 12 A 3
13/2/5 >> 13 B 2 A 5
Could you show me how to make regex? Thank you
Hi all,
I want to replace in this:
12/3 >> 12 A 3
13/2/5 >> 13 B 2 A 5
Could you show me how to make regex? Thank you
The easiest is probably to use two separate StringReplacers, one for each case.
One slash:
Search for: ^(\d+)/(\d+)$
Replace with: \1 A \2
Two slashes:
Search for: ^(\d+)/(\d+)/(\d+)$
Replace with: \1 B \2 A \3
The easiest is probably to use two separate StringReplacers, one for each case.
One slash:
Search for: ^(\d+)/(\d+)$
Replace with: \1 A \2
Two slashes:
Search for: ^(\d+)/(\d+)/(\d+)$
Replace with: \1 B \2 A \3
Thank you so much
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.