Replace "?" character

Questions about XML that are not covered by the other forums should go here.
skibum
Posts: 2
Joined: Thu Dec 19, 2013 6:10 am

Replace "?" character

Post by skibum »

Hi,
I'm very new to Oxygen and can't find this in any forums or documentation. I know this is simple, but just can't figure it out. I'm using Oxygen Author, vs 14.2, GUI. I would like to find and replace the following text in multiple XML files in the same directory.

Find:

Code: Select all

http://silvia.colorado.edu/.extracttoolA?
Replace:

Code: Select all

http://phyllis.colorado.edu/version1/
Thank you!
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Replace "?" character

Post by adrian »

Hi,

You can use the Find > Find/Replace in Files dialog.
If you want to search the literal text, please make sure that the "Regular expression" option is disabled. Otherwise, if treated as a regular expression, '.' (any character) and '?' (preceding token is optional) are treated as special characters.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
skibum
Posts: 2
Joined: Thu Dec 19, 2013 6:10 am

Re: Replace "?" character

Post by skibum »

Thank you for your quick reply, Adrian.

Searching the literal text didn't work, but I finally did find a workaround using the "\" character and regular expressions.
Post Reply