How can i name a group of pattern and use it many times in the whole expression ? I have for example some regular expression like :
([a][b|c|d|e])[x|y|z][p|q|r]([a][b|c|d|e]) ......([a][b|c|d|e]).... ([a][b|c|d|e])
In the above, if you notice [a][b|c|d|e] has been used many a times. I want to name this group to something, so that expression can become more readable. Is that possible ?
I am looking for something so that once the group ([a][b|c|d|e]) is named say "abcdgroup" then i can use "abcdgroup" everywhere in the whole expression. Also, It should not save the result of 1st group, but should solve every time it's used.