Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Grep style in bold

Tagged: 

Return to Member Forum

  • Author
    Posts
    • #78828
      Tania Cotton
      Member

      Hiya I would like to bold a string of text in lots of languages, there is a common word in all the translated text I be using (power source) what I need is a grep that will bold the text power source and all the words before power source up to a full stop and after power source up to a full stop

    • #78830
      Aaron Troia
      Participant

      I think this might be the GREP you are looking for. Be sure to add some form of bold styling in the Change Format box.

      Find: [.?!] \K.+?power source .+?[.?!](?= )
      Replace: $0

      Let me know if that works or not.

    • #78882
      Tania Cotton
      Member

      Some of the grep works

      power source .+?[.?!](?= ) that part is working stops going bold when it see the next full stop,
      but everything before the word power source is also turning bold and stopping when it comes to its first full stop

      I have tried modifying what you suggest not getting know where tho :(

    • #78884
      Tania Cotton
      Member

      Some of the grep works

      power source .+?[.?!](?= ) that part is working stops going bold when it see the next full stop,
      but everything before the word power source is also turning bold and NOT stopping when it comes to its first full stop

      I have tried modifying what you suggest not getting know where tho :(

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
Forum Ads