Quote:
Originally Posted by Alex2110
How can I create a regular expression that will find all occurrence of these three characters $#}?
I mean if the target string is: abc$456#fgh}890
the matches will be : 3 at position 4,8,12
I tried the expression [$#}] and it finds only one match (the one for the $ character).
|
Remember to escape
([a-z]{3})\$(\d+)\#([a-z]{3})\}(\d+)
4 captures shown