How to extract a string from a larger string?

前端 未结 3 1840
野的像风
野的像风 2021-01-20 17:39

Using jQuery how would I find/extract the \"Spartan\" string if the outputted HTML page had the following..



        
3条回答
  •  生来不讨喜
    2021-01-20 17:47

    if the pattern is going to be consistent you can your RegEx

    or if the markup is going to be the same you can try the jQuery HTML Parser

提交回复
热议问题