Using regular expressions in Transit to search and replace
Thread poster: Proudhon

English to Russian
Nov 15, 2011


Is there how to find and replace a certain type of strings using regular expressions? There’s quite a number of standard strings in the files I’m translating at the moment. These strings are based on the following structure:

The function returns , e.g.:

The getAssessmentPeriodLabelValues() function returns a list of assessment period LabelValueBeans

I wanted to leave the and replace the text before and after these characters

I used the following search and replace arguments:

Find what: The\s& function\sreturns
Replace with: \s&, where & stands for

Which, naturally, resulted in just that – ampersands instead of the characters I’d like to remain there.

Is it actually possible to find and replace in Transit in sed or awk style, or functionally similar?



To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Maya Gorgoshidze[Call to this topic]

You can also contact site staff by submitting a support request »

Using regular expressions in Transit to search and replace

Advanced search

Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »
WordFinder Unlimited
For clarity and excellence

WordFinder is the leading dictionary service that gives you the words you want anywhere, anytime. Access 260+ dictionaries from the world's leading dictionary publishers in virtually any device. Find the right word anywhere, anytime - online or offline.

More info »

  • All of
  • Term search
  • Jobs
  • Forums
  • Multiple search