How to put words into expressions?
-
I’m trying to edit a Crusader Kings 2 save file in one go. What I’m trying to do is to replace cul=“(some word here)” to cul=“italian”. It is a pretty lengthy process without expressions. Can someone help me with this, or it cannot be done?
-
That’s a pretty basic regular expression search and replace. Please read up on regular expressions on the internet for your future edification.
For the moment, something basic like this should get you going (although you didn’t give a huge amount of detail):
Find what box:
cul="\w+?"
Replace with box:cul="italian"
Search mode:Regular expression
-
Sorry for not giving many detail, but thank you!