Reply To: grep search expression

#67520
Anonymous
Inactive

Thanks for the reply, Steve.

This is what I ended up writing that worked:

(?<=\d)am\.|(?<=\d/s)am\.|(?<=\d)am(?=\,)|(?<=\d/s)am(?=\,)|(?<=\d)am(?=\-)|(?<=\d/s)am(?=\-)|(?<=\d)am(?= *)|(?<=\d)am(?= *)|(?<=\d)am(?=\;)|(?<=\d)am(?=\;)

then replace with “a.m.”

It picks up every variation of the incorrect “am”s

This article was last modified on March 10, 2014

Comments (0)

Loading comments...