Regex expression for <>media
HelloI have data within the brackets <>
and would need a regular expression to get the same correspondent.
by example-data - < 111-1-111 > would just 111-1-111
I tried to use the String.replaceall ("<","" "); featured, but can't figure out how to pass in the regular expression to check the closing ' > ' support.
any suggestions on this would be very useful
THX
You are not one of those who wants to solve all the problems with a regex right? In the example you give simply stripping off the first and the last character (which can be done with a call unique substring()) already nets you what you want.
In any case regex also works:
String str = "<111-1-111>";
String ret = str.replaceAll("[]", "");
System.out.println("RET: " + ret);
But without the T-I had to put this because otherwise I could not the forum to render the characters LT and GT: s
Tags: Java
Similar Questions
-
XSD validation fails on a regular expression for valid data
Hello
For some reason the following regex expression is down for 5095.0000
< value pattern = "[0-9] {1,4} [..]" [0-9] {4} "/ >"
Please notify.
This is the XML code:
It comes to XSD:<?xml version="1.0" encoding="iso-8859-1"?> <root DataFeedDate="2013-02-11" xmlns="http://www.abccompany.com"> <r> <ExchangeRateUSD>5095.0000</ExchangeRateUSD> </r> </root>
This is the error:<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="0.92" targetNamespace="http://www.abccompany.com" xmlns="http://www.abccompany.com"> <xs:element name="root"> <xs:complexType> <xs:sequence> <xs:element ref="r" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="DataFeedDate" use="required" type="xs:date"/> </xs:complexType> </xs:element> <xs:element name="r"> <xs:complexType> <xs:sequence> <xs:element ref="ExchangeRateUSD" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="ExchangeRateUSD"> <xs:simpleType> <xs:restriction base="xs:decimal"> <xs:totalDigits value="8"/> <xs:fractionDigits value="4"/> <xs:pattern value="[0-9]{1,4}[.][0-9]{4}"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:schema>
It's the XSD recording and validation:ORA-31154: invalid XML document ORA-19202: Error occurred in XML processing LSX-00333: literal "5095" is not valid with respect to the pattern ORA-31154: invalid XML document ORA-19202: Error occurred in XML processing LSX-00333: literal "5095" is not valid with respect to the pattern ORA-06512: at "SYS.XMLTYPE", line 354 ORA-06512: at line 7
begin DBMS_XMLSCHEMA.REGISTERSCHEMA( SCHEMAURL => 'http://abccompany.com/SpendAnalysis.xsd' , schemaDoc => xmltype(bfilename('TMP','SpendAnalysis.xsd'), nls_charset_id('AL32UTF8')) , local => true , genTypes => false , genTables => false , enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE ); end; declare l_xml xmltype; begin L_XML := XMLTYPE(BFILENAME('TMP','SpendAnalysis.xml'), NLS_CHARSET_ID('WE8ISO8859P1')); l_xml := l_xml.createSchemaBasedXML('http://abccompany.com/SpendAnalysis.xsd'); l_xml.schemaValidate(); DBMS_OUTPUT.PUT_LINE('XML IS VALID.'); exception when others then DBMS_OUTPUT.PUT_LINE(SQLerrm); DBMS_OUTPUT.PUT_LINE(DBMS_UTILITY.FORMAT_ERROR_STACK); DBMS_OUTPUT.PUT_LINE(DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); end;
I can't reproduce on 11.2.0.2, what is your version of db?
You better seems to work if we use the following option during registration of the schema:
options => dbms_xmlschema.REGISTER_BINARYXML
-
I just downloaded itunes 12 he scanned for media and found my ringtones but theres no record
I just downloaded iTunes 12 he scanned for media and found my ringtones, but there is no folder for it.
Should not have its own playlist?
Hi, teday.
Thanks for the question! I understand that you have imported ringtones to your computer and you are not able to see them in iTunes. Ringtones in iTunes are usually marked with the extension .m4r and if they do not have this extension, whereas they would be music files. You are able to check that these files have the extension? If these files have been imported into iTunes, you can locate in C:\Users\username\My Musique\iTunes\iTunes Media\Tones. If these files are not in this folder then the article below will guide you through how to locate them.
Search and organize your iTunes media files
Alternatively, you can try to import these files again if they have the .m4r extension.
12 iTunes for Windows: importing music and video already on your computer
The interface of iTunes 12 has also changed, so we'll see if they are found in the section of tones more option. This will reveal the pop-up menu allowing you to select the media in your library.
Let me know if you are unable to locate these tones and I thank you for visit Apple Support communities.
See you soon
-
How am I able to import emails from hotmail in Windows Outlook Express for Windows 98?
My grandfather is not familiar with Windows 98, I understand that it is a version absolete. It is impossible to access his e-mail from your Windows Live Hotmail account I would like to know how to import messages from a hotmail account in Outlook Express for Windows 98. For any help or suggestion would be greatly appreciated! Thank you.
Hello
To import contacts and email from Hotmail addresses in your Outlook Express address book:
- Set up access to your Hotmail account in Outlook Express.
- If you already have contacts in your address book Outlook Express for the current identity and want to make sure that you only import Hotmail contacts, create a new Outlook Express identity for the Hotmail account.
- Select Tools | Address book... from the menu in Outlook Express.
- Choose Tools | Synchronize now in the menu of the address book.
- If this choice is not available, make sure that you do not share contacts between Outlook Express and Outlook. Close and restart Outlook Express if you have made any changes to the contact sharing settings.
- To import the contacts in a program other than Outlook Express e-mail, export the address book from the current identity and use the import feature of your mail client to add contacts from the .csv file.
- Set up access to your Hotmail account in Outlook Express.
-
If I want Outlook Express for my e-mail how do downloaded?
On my other computer that I want to get Outlook Express for my e-mail, how it downloaded?
OE is a part of XP, and you already have it.Go to control panel | Add/Remove programs. Add/Remove Windows components. Make sure Outlook Express is checked.Still nothing on the desktop? Copy this:c:\Program files\outlook express\msimn.exeStart | Run and paste it in. Ok.Now go to control panel | Set access to programs and settings by default and OE set as default and then you should have the shortcut. -
How can I download a MP4 codec for media player, I am running windows XP Home Edition. PLEASE?
How can I download a MP4 codec for media player, I am running windows XP Home Edition. PLEASE?
===========================================
Long answer... good luck...The following decoder could be your problem but it's not freeware.
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)3ivx decoder
http://store.3ivx.com/3ivxStore/product_details.php?ID=11Anyway... This article is maybe worth a visit:
Windows Media Player multimedia file formats (316992)
http://support.Microsoft.com/kb/316992/en-us
> scroll waaay to MPEG-4 (.mp4)Media players free alternative that should play the files:
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)VLC Media Player (32-bit Version)
http://www.filehippo.com/download_vlc_32/
(works on XP, Vista, 7, 8)
(the name of the file to download is: vlc - 2.0.5 - win32.exe)(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)VLC Media Player (64-bit Version)
http://www.filehippo.com/download_vlc_64/
(works on XP, Vista, 7, 8)
(the name of the file to download is: vlc - 2.0.5 - win64.exe)(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Media Player Classic Home Cinema
http://www.videohelp.com/tools/Media-Player-Classic-home-cinema
(Win XP SP3 3, Vista / 7 / 8 (with a few questions about 8).)
The two 32-bit (x 86) and 64-bit (x 64)) (name of file
downloading is: "mplayerc_homecinema.1.6.5.6366.x86.exe)."
(start with left click - Download (direct link)And it might be worth a try to download
and install 'one' of the following free codec packs:* Proceed at your own risk *.
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)K - Lite Codec Pack (full)
http://www.filehippo.com/download_klite_codec_pack/
(Windows XP - Vista - 7)(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Vista Codec Package
http://www.MajorGeeks.com/download.php?Det=5326
(Windows XP / Vista)Personally I would remove the compatibility
questions and convert the files to the WMV MP4
format. One of the reasons being... If the files are shared
with anyone... they will encounter the same problems.There are many converters to retail and freeware
available on the net... the following link is a
for example.Proceed at your own risk *.
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)Freemake Free Video Converter (freeware)
http://www.Freemake.com/free_video_converter/
(Windows XP / Vista / 7)
(* Read * all * the installation screens... it)
may be a few items you want to unmark *) -
Error code for media player C00D10CD
Error code for media player C00D10CD
Hello
Refer to this article, it helped me.
http://msgroups.NET/Microsoft.public.windowsmedia.player/problem-to-play-VCD-or-d/116738
All the best
-
Original title: copy files
I have Windows XP Home Edition and use Outlook Express for my e-mail. Is there a way to copy/send e-mail, favorite contacts and my photos on a Flash key?
Open the address book in the old identity and file | Export | Address book (wab) to any location on your HARD drive that is easy for you. The office is very well. Then drag that to the flash drive.
In IE: File | Import and export | Export to a file. Check Favorites | Next | Next | Navigate to a folder or the desktop and export. Drag the folder in the flash player.
For photos, just right-click on the folder and drag it to the USB and copy here.
-
Hello everyone my CD Rom has stopped playing DVDs but plays the audio CD and CD-ROM. I tried to uninstall it without result. The box pop up for media player does not appear when I insert any kind of CD.
Hello
Try this:
http://support.Microsoft.com/kb/306318
b Eddie -
Windows XP and using the Xbox 360!
How can I configure xbox 360 on windows XP, all instructions are for Media Center which I did not and asks the key code. I don't have media player. I received a key to the xbox code, BUT Media Player do not ask for it? My wireless works fine. XBox works very well. Yes, I know that I should upgrade to Windows 7 but until my budget allows, is what I have. Thank you.Try this link for XBox: http://social.msdn.microsoft.com/Search/en-US?query=XBOX%20on%20Windows%20XP&ac=3
-
copy the address book Outlook Express for Hotmail - can't get in Outlook Express
copy the address book Outlook Express for Hotmail - can't get in Outlook Express.
Lately I often can't get into my Outlook email. I know that I can use Hotmail, but I need my address book. I know that it has to see with the Qwest no longer carring MSN. Can you tell me how to recover or to carry it?
Thank you, Cookie 303-371-6295 or 303-931-4632
The address book is a file with an extension of wab file. Search for *.wab and then you can click on it to open it. You can then go to file | Export | Address book, then save it as a csv file. To import into Hotmail, as in this case: www.windowslivehelp.com because it is where are the experts of Hotmail.
Steve
-
How to download and install outlook express for free
How to download and install outlook express for free
You do not have. OE has never been a stand-alone email client. You are asking this in a XP forum. You have XP? If you do, you have Outlook Express. If you are using XP, what is your problem with OE?
If you do not OE, maybe this will help.
Right click on the desktop | New | Shortcut. Go to the * c:\program files\outlook express\msimn.exe *. Click next | Click Finish. It will be a new shortcut on the desktop.
-
Windows xp Home Edition running, at the center of the screen it is large icon for media player. in all programs used. Cannot delete, removing appears again at startup. any suggestions?
Hi louMIRANTI,
· Since when are you facing this problem?
· Remember to make changes?
· This problem occurs on other user accounts?
· How to remove the icon?
Method 1: Check the question on other user accounts and see if the problem exists.
Method 2: Let's try to run a scan online for any infection on the computer.
-
Outlook Express for Windows XP
I need help to get started with setting up my email if Outlook Express for Windows XP.
mariohill81,
All inquiries regarding OE in Windows XP must be posted on the XP Networking, Mail and on-line forum.
This is the Windows Update forum, which deals with the update of the issues. Repost this on the forum XP above or wait for a moderator to move it there.Thank you!
Expert MowGreen Windows IT Pro - consumer safety
-
a good link for the codecs for media player
have a link to a version of good updaed codecs for media player, I tried 3 on c-net with no luck, now I can not even play MP4, thank you
Which
An alternative to consider...
Why fuss around with codecs?
Install VLC.
It's free.
He plays almost all formats.
Almost never have to converted file formats.
Download link...
Maybe you are looking for
-
Disappears from the vertical when scroll bar change the zoom level
This happens on my site (http://www.gotravelshack.com/)and that in FireFox (not other browsers). Must refresh the page to get back scroll bar. Help, please. Thank you.
-
El Capitan 10.11.4 update kills iWork ' 09?
After I upgraded my MacBook Pro 15 (mid-2014) last week to 10.11.4, Pages ' 09 and Numbers ' 09 black dialog boxes and blacked out pages and worksheets. What is the way Apple has decided to kill these applications? I am one of the many people who are
-
Laptop with Inbox.dbx corrupted. Freezes most of the features on laptop to go into OE. Renamed folder Outlook express to Outlook Express1. Reopened OE and it has created new folders and Inbox... No questions or shutdowns. Renamed the new file dbx In
-
Predator G9-791 - 735-A - mSata or not?
Acer cat said "it don't you." Phone sales support Acer says "it has usb ports, port thunderboard and disk sata hard ' who I hung up. Can anyone in this society (or community) that has no real knowledge of this system please answer with a Yes or no
-
T410, update new BIOS, SLIC misssing!
I updated the new BIOS to the T410, then I found missing SLIC, and now Windows 7 cannot be activated.Please do not update the new BIOS: Version 1.12 - 1.04 http://www-307.ibm.com/pc/support/si...IGR-74268#main PS: How to solve the problem now? Modera