/^((?:[^c]*c){n-1}[^c]*)c/
(Edit: Corion winds up with the same solution up above but this is slightly more efficient since the inner () don't need to be capturing)
In reply to Re: match n EMth/EM occurence
by RMGir
in thread match n EMth/EM occurence
by arindamm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |