Mobile menu

How to .txt ezParse rule
Thread poster: Yourcells
Local time: 20:04
English to Chinese
Feb 2, 2008

Hi all,
I have a .txt file containing the contents like below:

ID_ef = "Billing Double Time"
ID_fe = "Billing Due on 10th of Month"
ID_we = "Billing Due on 15th of Month"
ID_gg = "Billing Due on 20th of Month"
ID_hh = "Billing Due on 25th of Month"

Before I use catalyst to translate this .txt file, I want to define a ezParse rule for this .txt file. I can define the string to be translated between the quotes successfully. But I fail to define the context rule which should define the ID like ID_ef or ID_we. Although I have tried many methods to define the context rules, I cannot make the IDs displayed in the preview. Hope anyone can do me a favor to solve this ezParse rule definition problem. Thank you.

Direct link Reply with quote
Alchemy Support
Local time: 13:04
How to parse string ID's Feb 4, 2008


To identify an ID in ezparse, you have to surround it in these () brackets.

For sample text you want to parse I would use this as the start tag:

(ID_[a-zA-Z]+) = "

And this as the end tag:


Here is a link to an FAQ on ezparse ->

Direct link Reply with quote

James Gao
Local time: 20:04
English to Chinese
+ ...
another way Aug 9, 2010

Here is just another way which is suitable to more cases. FYI
Start tag: ^([^=]+)=\s"
End tag: "

Direct link Reply with quote

There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »

How to .txt ezParse rule

Advanced search

The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »
memoQ translator pro
Kilgray's memoQ is the world's fastest developing integrated localization & translation environment rendering you more productive and efficient.

With our advanced file filters, unlimited language and advanced file support, memoQ translator pro has been designed for translators and reviewers who work on their own, with other translators or in team-based translation projects.

More info »

All of
  • All of
  • Term search
  • Jobs