regex - find a pattern in string and remove that pattern of the string from excel cells without touching the pattern in the middle of the string -


I have a column on which the beginning of the string is in the middle and end pattern. For example:

  - myString my - string mestring -  

I want to find these two types of cells

 < Code> - myString myString -  

Remove the pattern, it looks fine! I'm an amateur user of Excel, but if you suggest me, you can use the function to find and use the results of Find In Replace functions, but I do not know how to pass the results to replace

Please note: the answer should be taken care of all the cells in the column, which are hundreds. A solution to change all, not a solution for a cell. Edit: For every instruction from Gary's students, just read the request again. This will not only remove all instances of start and end.

If the data is in A1, use the following formula:

  = Component (A1, "-", "")  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -