I want to replace all first "/" with "[" but all second "/" with "]". GoogleDocs offers a regular expression search-and-replace, but I have no clue how to use that for this "first and second" issue. Example of source and target below.
What do I have to enter in the Search and Replace fields of GoogleDocs dialogue?
current state
p pen /pen/
b bad /bæd/
t tea /tiː/
intended solution
p pen [pen]
b bad [bæd]
t tea [tiː]
<space>/with[and then/with]. You shouldn't need regex here./\bto replace the first and\b/to replace the second slash.