Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 1964

[3.3.x] Translations • Need help writing regex to clear all translated strings in files

$
0
0
Can someone help me write a regex that I can use (In Notepad++) to search/replace all strings in the translations files so they are removed.

So that I end up with files that just have the PHP code but the values (translation strings) are empty.

From:

Code:

'A'=> 'One line of text''B'=> 'Some    text    with newlines''C'=> 'Some text with \' that also needs to work''D'=> 'More text'
To:

Code:

'A'=> '''B'=> '''C'=> '''D'=> ''

Statistics: Posted by scootergrisen — Sun Sep 08, 2024 4:25 pm



Viewing all articles
Browse latest Browse all 1964

Trending Articles