I tried to replace m3 ha−1 into m3 ha−1 with no success. What is wrong with my expression?

(?i)(?<=\<m)3(?= ha\>)-1

1 Answer 1


The superscript dash is different than the one you use in the Grep:

m3 ha−1: has a long dash

(?i)(?<=\)-1: has a short dash

Is it not enough this way?

(?<=ha)-1|(?<=m)3 enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.