简体   繁体   English

从Excel中的指定字符串中删除特殊字符

[英]Remove special characters from the specified string in excel

I am trying to remove a character from a string in excel. 我正在尝试从Excel中的字符串中删除字符。 How can I remove the first and last character from the specified string? 如何从指定的字符串中删除第一个和最后一个字符? In excel sheet I have data in every column. 在Excel工作表中,每一列都有数据。 Some of the test starting and ending with $$ characters, I need to remove only first character ($) and last character ($) from the string. 有些测试以$$字符开始和结束,我只需要从字符串中删除第一个字符($)和最后一个字符($)。

Example: Cell 1: 示例:单元格1:

$$hello world$$. World is beautiful. $$where there is will there is a way.$$ money makes many things.

Should represent: 应代表:

$hello world$. World is beautiful. $where there is will there is a way. $money makes many things$.

Thanks All 谢谢大家

您可以使用SUBSTITUTE()公式

=SUBSTITUTE(A1,"$$","$")

作为非公式化的替代方法,是突出显示要修改的单元格并执行查找和替换(crtl + f),在其中查找内容:$$并替换为:$ ...根据您所用的字符串数而定尝试编辑此文件可能会更大,更容易...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从Excel复制到phpmyadmin时删除特殊字符 - Remove special characters when copying from Excel to phpmyadmin 从Excel工作表上的字符串中删除Unicode字符 - Remove unicode characters from string on excel sheet Excel宏删除没有特殊字符的行,并从另一行中删除特殊字符 - Excel macro to remove rows without special character and remove special characters from another rows 从字符串中删除除 a-zA-Z0-9 之外的所有特殊字符 - Remove all special characters except a-zA-Z0-9 from a string 如何在Excel工作表中查找和删除特殊字符? - How to find and remove special characters in Excel sheet? 检查文本字符串是否在Excel中包含特殊字符 - Check if a text string contains special characters in excel 如何从从 Excel 导入的字符串中删除 R 中的隐藏字符? - How to remove hidden characters in R from string imported from Excel? 删除数字字符串中的特殊字符和数字 - Remove special characters and numbers in a number string 在某个单词后删除字符串中的字符 - excel - Remove characters from a string after a certain word - excel 如何从MySQL中选择到Excel文件时删除特殊的重音字符 - How to remove special accented characters while doing select from mysql into excel file
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM