you can do this in java:

"aa bb".replaceAll("(aa) (bb)", "$2$1")  = bbaa

On 19 May 2010 23:10, honce <[email protected]> wrote:

> "aa bb" + /(aa) (bb)/$2$1/ = bbaa
>
> Does a FOSS one exist?  I'm planning to hack something together but
> thought I would ask first.  My Google Foo has not been successful on
> this topic.
>
> Thanks for your time.
>
> /jwh
>
> --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to