Look closely at the suggested formula in http://usa.autodesk.com/getdoc/id=TS1054918
Your formula has two backslashes in each match string, the sample only has one. The double backslash you enter in the property collapses when read into ADT.
One thing missing from both the suggested forrmula and your formula is that rmoving the "\P" code leaves words in adjacent lines butted together - unless you type in a space, which should throw off the centering of the text. Try the following:
ScheduleName = "[Name]"
ScheduleName = Replace (ScheduleName, "\mt", "")
ScheduleName = Replace (ScheduleName, "\P", " ")
RESULT = ScheduleName
and note that the second replace has a space between the quotation marks. I suppose you are manually editing the position of the attribute for those room names that have multiple lines. The attached ZIP file has a revised version of your file with the working formula.
--
David Koch
Autodesk Discussion Group Facilitator