I'm assuming you want the values in the groups, not the names. So if you set singleline mode in your expression, the following pattern would extract the data you want.
You just need to add the "build:" part to the pattern (I'm assuming it is a custom string entry???)
If you have already built the .exe, another alternative is to use the "Extract Version Info" action in "Files & Directories" to get the information from the .exe. It lets you select which elements of the version info you would like to extract and you can save them to FB variables.
I don't read an *.exe file... I read a *.rc file, with "read text file"... When I read the *.rc file out, than I would filling the list with Variables like this:
// ------------------------------------------------- // DO NOT EDIT (Machine generated file) // -------------------------------------------------
// ------------------------------------------------- // Language // -------------------------------------------------
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN_SWISS
// ------------------------------------------------- // Main Icon // -------------------------------------------------
OK, but this isn’t an RC file, it is a template for an RC file. The pattern I posted was assuming real values, not placeholders (which is why the version number was \d+,\d+,\d+,\d+, as that is 4 numbers separated by commas).
It sounds like you are trying to replace the placeholders in the file with variables, in which case if you use the “Replace Variables” action, it will open the file specified and if you tick/check “Write back to source” it will substitute the variables for you.
Okey, it's a template... I would replace the placeholder thats right. In FinalBuilder I don't have this File. I have this file without Variables or placeholders, but there are other numbers and dates... So I read this file (in the variable "list") and than I should change there where the placeholders are the numbers... But my Regex does always fail, because he don't find this in the variable "list"... And nobody from work, do understand regex... So I hope you can help me. Do you understand what I mean? (Sry for my bad English ^^)