JavaScript에서는이 두 문자열 사이의 모든 것을 얻으 려합니다. 그러나 원하는 내용은 같은 줄에 있지 않습니다. API에서. 두 줄 사이의 문자열이 같은 줄에 있지 않습니다. 정규식
내가 전화를
나는the 1960s with the release of Letraset sheets containing
Lorem Ipsum passages, and more recently with desktop
publishing software like Aldus PageMaker
including versions of Lorem Ipsum.
BlogPostStart
the 1960s with the release of L
etraset sheets containing Lorem Ipsum
passages, and more recently with desktop
publishing software like Aldus PageMaker
including versions of Lorem Ipsum.
BlogEnd
은 기본적으로 내가 그 두 단어가 포함되거나 상단 부분없이 BlogPostStart와 BlogEnd 사이에 모든 것을 얻을 수있는 문자열로이 얻을.
는 기본적으로 내가 무슨 거기,이 게시물은 API의 전체 문자열 시도 :var blogDescription = post.match(/^(?!\s*(BlogPost|EndBlog)).*/gmi);
하지만 그것은 단지 배열 형식으로 모든 행을 반환합니다.
겠습니까 뭔가 : http://regexr.com/3fs8m – jas7457