Jump to content

RXReplace: Invalid escape sequence: "\B".


Lucas Tarquino

Recommended Posts

I'm trying to add a calculated column to create abbreviations for a stringusing a regular expression in the RXReplace function:RXReplace([Hospital_Name],"B[a-zA-Z'-]+","","g"). However, I get an error stating "Invalid escape sequence: "B"." which seems to not recognize the not word boundary. The function does recognize the word boundary "b". Why is this not working Is there an alternative to "B" or a different approach to abbreviate a phrase (e.g., "This Is A Phrase" > "TIAP")
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...