Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typescript/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GREP InDesign:如何用一行中的另一个字符串替换一个字符串?_Grep - Fatal编程技术网

GREP InDesign:如何用一行中的另一个字符串替换一个字符串?

GREP InDesign:如何用一行中的另一个字符串替换一个字符串?,grep,Grep,我想将名称字符串复制到href值中,并添加一个加号(显然,一行一行地添加多次)。以下是文本(我之所以使用InDesign,是因为在本例中支持“轻松”GREP): href值通过选择(?不清楚,发布最终所需结果“grep”只是一个搜索工具。如果要“搜索行中的正则表达式,然后用匹配的文本替换行的另一部分”,您将需要一种编程语言。您计划使用哪种编程语言?我不知道,我只想得到这个结果(但显然需要更多的文本):---------------------------------------------

我想将名称字符串复制到href值中,并添加一个加号(显然,一行一行地添加多次)。以下是文本(我之所以使用InDesign,是因为在本例中支持“轻松”GREP):



  • href值通过
    选择(?不清楚,发布最终所需结果“grep”只是一个搜索工具。如果要“搜索行中的正则表达式,然后用匹配的文本替换行的另一部分”,您将需要一种编程语言。您计划使用哪种编程语言?我不知道,我只想得到这个结果(但显然需要更多的文本):-------------------------------------------------------------
    <a href=”http://luisleu.de/?s=alex+feuerstein”>Andreas Zedtwitz</a>
    <a href=”http://luisleu.de/?s=alex+feuerstein”>Angelika Arendt</a>
    <a href=”http://luisleu.de/?s=alex+feuerstein”>Anna-Lena Lotz</a>
    <a href=”http://luisleu.de/?s=alex+feuerstein”>Benjamin Köder</a>
    <a href=”http://luisleu.de/?s=alex+feuerstein”>Betty Rieckmann</a>