Library Catalogue Log off | Borrower record | Course Reading | Collections | A-Z E-Journal list | ILL Request | Help Browse | Search | Results List | Previous Searches | My e-Shelf | Self-Issue | Feedback Selected records: View Selected | Save/Mail | Create Subset | Add to My e-Shelf | Whole set: Select All | Deselect | Rank | Refine | Filter Records 1 - 15 of 101005 (maximum display and sort is 2500 records) 1 Drower, E. S. (Ethel Stefana), Lady, b. 1879. Lady E.S. Drower’s scholarly correspondence : an intrepid English autodidact in Iraq / edited by 2012. BK Book University Library( 1/ 0) 2 Kowalski, Robin M. Cyberbullying : bullying in the digital age / Robin M. Kowalski, Susan P. Limber, Patricia W. Ag 2012. BK Book University Library( 1/ 0) ... 15 Ambrose, Gavin. Approach and language [electronic resource] / Gavin Ambrose, Nigel Aono-Billson. 2011. BK Book
< /code>
, чтобы я либо вернулся: < /p>
1 Drower, E. S. (Ethel Stefana), Lady, b. 1879. Lady E.S. Drower’s scholarly correspondence : an intrepid English autodidact in Iraq / edited by 2012. BK Book University Library( 1/ 0)
// Or
1 Drower, E. S. (Ethel Stefana), Lady, b. 1879. Lady E.S. Drower’s scholarly correspondence : an intrepid English autodidact in Iraq
< /code>
Это всего лишь пример, и 1 -nawer, E.S. ... не будет статичным. В то время как вход будет отличаться каждый раз (деталь между 1 и 2) общий макет строки всегда будет одинаковой. < /p>
Я имею: < /p>
String top = ".* (.*)";
String bottom = "\( \d/ \d\)\W*";
Pattern p = Pattern.compile(top); //+bottom
Matcher matcher = p.matcher(td); //td is the input String
String items = matcher.group();
System.out.println(items);
Когда я запускаю его с Top , он предназначен для удаления всех заголовков, но все, что я получаю, не найдено совпадением . Внизу < /code> - моя попытка разделить остальную часть строки. Мне нужно разделить входную строку, чтобы я мог работать с каждым человеком из 15 результатов. < /p>
Привет, я пытаюсь разделить эту строку (она довольно длинная): < /p>
[code]Library Catalogue Log off | Borrower record | Course Reading | Collections | A-Z E-Journal list | ILL Request | Help Browse | Search | Results List | Previous Searches | My e-Shelf | Self-Issue | Feedback Selected records: View Selected | Save/Mail | Create Subset | Add to My e-Shelf | Whole set: Select All | Deselect | Rank | Refine | Filter Records 1 - 15 of 101005 (maximum display and sort is 2500 records) 1 Drower, E. S. (Ethel Stefana), Lady, b. 1879. Lady E.S. Drower’s scholarly correspondence : an intrepid English autodidact in Iraq / edited by 2012. BK Book University Library( 1/ 0) 2 Kowalski, Robin M. Cyberbullying : bullying in the digital age / Robin M. Kowalski, Susan P. Limber, Patricia W. Ag 2012. BK Book University Library( 1/ 0) ... 15 Ambrose, Gavin. Approach and language [electronic resource] / Gavin Ambrose, Nigel Aono-Billson. 2011. BK Book < /code>
, чтобы я либо вернулся: < /p>
1 Drower, E. S. (Ethel Stefana), Lady, b. 1879. Lady E.S. Drower’s scholarly correspondence : an intrepid English autodidact in Iraq / edited by 2012. BK Book University Library( 1/ 0)
// Or
1 Drower, E. S. (Ethel Stefana), Lady, b. 1879. Lady E.S. Drower’s scholarly correspondence : an intrepid English autodidact in Iraq < /code>
Это всего лишь пример, и 1 -nawer, E.S. ... не будет статичным. В то время как вход будет отличаться каждый раз (деталь между 1 и 2) общий макет строки всегда будет одинаковой. < /p>
Я имею: < /p>
String top = ".* (.*)"; String bottom = "\( \d/ \d\)\W*"; Pattern p = Pattern.compile(top); //+bottom Matcher matcher = p.matcher(td); //td is the input String String items = matcher.group(); System.out.println(items); [/code]
Когда я запускаю его с Top , он предназначен для удаления всех заголовков, но все, что я получаю, не найдено совпадением . Внизу < /code> - моя попытка разделить остальную часть строки. Мне нужно разделить входную строку, чтобы я мог работать с каждым человеком из 15 результатов. < /p>