Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
add a comment |
If you go the Code Generator girlsgogames section you can get the code. However, you can use something like this: var myString = 'http://v.youku.com/v_show/id_XNTg3OTc3MzY4.html'; var myRegexp = /id_(\w+)/; var match = myRegexp.exec(myString); girlsgogames alert(match[1]); //Shows: XNTg3OTc3MzY4
var youkuUrl = youkuEmbed.match(/http:\/\/v\.youku\.com\/v_show\/id_(\w+)\.html/);
discard
0 Display matched strings with jquery regex function
How to explain to a high school student why a linear girlsgogames differential equation is linear?
Technology Life / Arts Culture / Recreation Science Other Stack Overflow Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Programmers Unix & Linux Ask Different (Apple) girlsgogames WordPress Development Geographic Information Systems Electrical Engineering girlsgogames Android Enthusiasts Information Security Database Administrators girlsgogames Drupal Answers SharePoint User Experience Mathematica girlsgogames Salesforce more (13) Photography Science Fiction & Fantasy Graphic Design Seasoned Advice (cooking) Home Improvement Personal Finance & Money Academia more (10) English Language & Usage Skeptics girlsgogames Mi Yodeya (Judaism) Travel Christianity Arqade (gaming) Bicycles Role-playing Games more (21) Mathematics Cross Validated (stats) Theoretical Computer Science Physics MathOverflow more (7) Stack Apps Meta Stack Exchange Area 51 Stack Overflow Careers
Stack Overflow works best with JavaScript enabled
No comments:
Post a Comment