Tôi có chuỗi trong sau định dạngGroovy Chuỗi thay thế
some other string @[Foo Foo](contact:2) some other string @[Bar Bar](contact:1) still some other string
bây giờ tôi muốn chuỗi này vào
some other string <a href="someurl/2">Foo Foo</a> some other string <a href="someurl/1">Bar Bar</a> still some other string
nên về cơ bản cần phải thay thế @[Some name](contact:id)
đến URL sử dụng groovy & sử dụng reg cũ gì là cách hiệu quả để làm điều đó
bạn có thể giải thích điều này – user602865
Bạn có thể vui lòng giúp tôi tại http://stackoverflow.com/questions/9144597/regular-expression-and-string-operations – user602865