I want to tag only the alphabets found inside <exp> and </exp> with the italic tag <it></it>. I want to skip numbers, symbols and entities. If a number, symbol or entity comes in between the text then <it> tag should close and then open.
example 1
input:<exp>a+b+β</exp><br> output:<exp><it>a</it>+<it>b</it>+β</exp><br>
example 2
input:<exp>2a+α-b2</exp><br> output:<exp>2<it>a</it>+α-<it>b</it>2</exp><br>
In reply to find and replace by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |