I have the following sentence:

Then a dialogue box opens in which the user can specify some distinguishing properties for the anchor using its text value or a pattern in the text

How can I avoid repeating "text"in the sentence above?

"... a pattern in it" could be an option, is it the only option?!

closed as primarily opinion-based by user6951, Nathan Tuggy, StoneyB, M.A.R. ಠ_ಠ, Chenmunka Jun 18 '15 at 17:42

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    "...using its text value or a pattern therein. " – Adam Jun 18 '15 at 17:14
  • 1
    Another reason it feels awkard is because pattern in the text itself is awkward. I cannot tell if this pattern is within the text being entered or is a pattern for the anchor. Adding that info would probably give you enough to fix the sentence. – Michael Dorgan Jun 18 '15 at 17:35
  • @MichaelDorgan a pattern in the text of the anchor node. for example $79.00 is the text of anchor node and it has the patten of a price (a $ sign and a number with two percentage numbers...) – Ahmad Jun 18 '15 at 17:45
  • The original with its repetition was fine. It was clear. – Tᴚoɯɐuo Jun 18 '15 at 18:00
  • 1
    Is the question: Does a grammatically correct alternative exist? only asking an opinion? – Dylan Cross Jun 18 '15 at 18:20

...using the value of or a pattern in the text.

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