Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Re: How to change the order of two sets of words

$
0
0

if not

try this

 

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.findWhat = "(Construction) of ((\\b\\u\\l+\\b ?){1,3}), (Construction) of ((\\b\\u\\l+\\b ?){1,3})";

app.changeGrepPreferences.changeTo = "$2 $1, $4 $5";

app.selection[0].changeGrep();

app.findGrepPreferences = app.changeGrepPreferences = null;

 

app.findGrepPreferences = app.changeGrepPreferences = null;

app.findGrepPreferences.findWhat = "(Construction) of ((\\b\\u\\l+\\b ?){1,3}), (Construction) of ((\\b\\u\\l+\\b ?){1,3})";

app.changeGrepPreferences.changeTo = "$2机场建设, $4机场建设";

app.selection[0].changeGrep();

app.findGrepPreferences = app.changeGrepPreferences = null;

 

or you can change {1,3} to {1,4} or {1,5} depens on the Airport's name

 

John White


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>