Last active
          January 6, 2021 03:15 
        
      - 
      
 - 
        
Save specter119/ea9440c8573aa0df266ea87745226d37 to your computer and use it in GitHub Desktop.  
    Fix multiple locale et al in GB/T 7714 bibliography generated by Zotero(csl) for MS-Word
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Sub deng2etal() | |
| ' | |
| ' deng2etal macro | |
| ' English等 -> english, et al | |
| ' | |
| With Selection.Find | |
| .Forward = True | |
| .ClearFormatting | |
| .Text = "(<[A-z]@)等" | |
| With .Replacement | |
| .ClearFormatting | |
| .Text = "\1, et al" | |
| End With | |
| .Wrap = wdFindStop | |
| .Execute Replace:=wdReplaceAll, MatchWildcards:=True | |
| End With | |
| End Sub | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment