I want to define a rule that will change a particular type of string to another form.
For example:-
a string having R1~~"=C"~~"C"("OO|O")~~R2 -> R1~~"C"(O)~~"C"~~R2
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
|
||||
|
It is not quite clear what you are aiming to do, but perhaps this would work:
|
|||||
|
StringReplace? – Yves Klett Mar 26 '12 at 12:25