You should have specified that in your original post then, as there are quite a few ways to do it without regular expressions. Had anyone spent any time answering your question, it would have been wasted if you need to use a regex.
Please read the following articles before your next post: Ask questions the smart way, I know what I mean. Why don't you? and How (Not) To Ask A Question.
...roboticus
In reply to Re^3: Reverse fraction of a string
by roboticus
in thread Reverse fraction of a string
by Bintuch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |