Jump to content

Recommended Posts

Posted

Boas


Tenho um ficheiro com multiplas linhas de texto:

 

//[TRANSLATOR INFO] In text below % sign will be added at the end Example: "Building the fleet: 55%"
tGenerateShips=Building the fleet
tLoadingIslands=Creating the islands.
 Please wait...
//ShopItems
tMMDailyReward=Daily
 Reward

 

E tou a criar uma aplicação para contar as vezes que aparece uma variavel (exemplo: "tGenerateShips=") nesse texto. No texto acima referido tenho 3 variaveis:

  • tGenerateShips=
  • tLoadingIslands=
  • tMMDailyReward=

 

ou seja no regex pretendido preciso de algo assim: "t[qualquercoisa]="

 

Alguém me pode ajudar?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.