I want to get this link from an XML-file, is it possible with regex?
& lt; Src & gt; Rtmp: //cp8619.edgefcs.net/416x234_93912.mp4 & lt; / Src & gt;
I tried to do something like Pattern.compile ("(rtmp [[az] [0-9]] {39})");
I am getting the following error in this line:
p_quality.matcher (xml_code_stored_in_a_string); Java.lang.NullPointerException: Attempt to apply the interface method 'int java.lang.CharSequence.length ()' to a null object reference
I am using the same pattern The html-code from "video-id" and it is working there, but it is not working with this XML-code
Comments
Post a Comment