分类

最新评论

Kevin's Blog
.
不管你来或不来,我都在这里--- my country of freedom.
2024
如果人生是值得的,那就值得记录…

三月 初十 甲辰【龙】年
戊辰月 壬子日 
Thu,18 Apr 2024 03:23:10
自由国度 平凡的足迹
Sat, 01 May 2021 5
function jqHtmlDbq($str,$start){ //得到标签位置
	$wzs=strpos($str,$start);

	//取到最后;
	$_str = substr($str,$wzs);
	
	//得到前标签<div和结束标签
	$reg='/<[^\s]+/i';
	if(preg_match($reg,$start,$match)){
		$strat_tag=rtrim($match[0],'>');
		$end_tag=str_replace('<','</',$strat_tag).'>';
	}else{
		echo logs('起始标签不正确');
		return null;
	}

	//求出内嵌多少个相同标签
	$reg='/'.$start.'(.*)?'.str_replace('/','\/',$end_tag).'/Usi';
	if(preg_match($reg,$_str,$match)){
		$str_tmp=$match[0];
	}else{
		echo logs('没有找到结束标签');
		return null;
	}
	$tag_counts = substr_count($str_tmp,$strat_tag);
	
	//得到第对应标签的位置
	$end_wz = $this->str_n_pos($_str,$end_tag,$tag_counts);

	//截取对标签之间内容
	$_str=substr($_str,0,$end_wz+strlen($end_tag));
	return $_str; 
}

	//返回字符串第n次出现的位置
function str_n_pos($str,$find,$n){
	    $pos_val=0;
	    for ($i=1;$i<=$n;$i++){
	        $pos = strpos($str,$find);
	        $str = substr($str,$pos+1);
	        $pos_val=$pos+$pos_val+1;
	    }
	    return $pos_val-1;
}


正则始终都不完美。处理字符串比较靠谱。。
共有45条留言

154368

Paybribra
Sat,26 Mar 2022 21:47:36
An abdominal xray is an imaging test to look at organs and structures in the belly area. https://oscialipop.com - can you buy cialis online Treat with epidural steroid injections if it is affecting patients quality of life. Cialis Professional Viagra Sales Chdsno https://oscialipop.com - buying generic cialis online safe C Erosion in varicella chickenpox after rupture of blister. Cdoaub

Saidayhaf
Tue,16 Aug 2022 20:42:55
Although the cause of Tourette syndrome is not known it is associated with either an excess of dopamine or a hypersensitivity to dopamine. buying ivermectin online

off white jordan 1
Thu,20 Apr 2023 17:52:11
My husband and i ended up being really joyful when Chris managed to do his reports because of the precious recommendations he was given while using the weblog. It is now and again perplexing just to choose to be freely giving secrets some other people have been trying to sell. We recognize we've got the writer to thank for this. All of the explanations you've made, the simple website menu, the relationships you can help create - it's everything superb, and it's helping our son and the family reckon that the topic is fun, and that is quite vital. Many thanks for everything! [url=http://www.offwhitexjordan.com]off white jordan 1[/url]

off white outlet
Fri,21 Apr 2023 15:04:25
My spouse and i felt now peaceful Raymond could conclude his investigations using the precious recommendations he came across using your web page. It's not at all simplistic to simply possibly be giving freely facts that other people could have been trying to sell. We understand we have got the blog owner to appreciate for this. The specific explanations you made, the simple web site menu, the relationships you can help create - it's got most wonderful, and it's making our son and us recognize that this topic is pleasurable, and that is extraordinarily important. Thank you for the whole thing! off white outlet

cheap louis vuitton bags
Mon,01 May 2023 05:34:25
I just wanted to thank you for the fast service. possibly they look great. I received them a day earlier than expected. particularly the I will definitely continue to buy from this site. in either case I will recommend this site to my friends. Thanks! cheap louis vuitton bags

supreme clothing
Sat,14 Oct 2023 17:57:26
There are some interesting deadlines on this article but I don抰 know if I see all of them center to heart. There's some validity but I'll take maintain opinion until I look into it further. Good article , thanks and we would like extra! Added to FeedBurner as nicely supreme clothing

Davidbam
Fri,20 Oct 2023 00:57:40

SueNer
Mon,04 Dec 2023 04:27:31

Elwoodjep
Mon,04 Dec 2023 06:32:22

MichaelInDek
Mon,04 Dec 2023 07:46:51

Williamsnire
Mon,04 Dec 2023 08:08:33

Samuelcaw
Mon,04 Dec 2023 09:22:05

JosephPloda
Mon,04 Dec 2023 13:11:18

EyeNer
Mon,04 Dec 2023 19:36:56

off white jordan 1
Wed,27 Dec 2023 03:08:15
I precisely wanted to thank you very much again. I am not sure the things I would have made to happen in the absence of the entire suggestions revealed by you concerning such a problem. This has been a alarming situation in my view, however , witnessing the specialised tactic you managed that made me to jump over delight. Extremely grateful for the information and wish you really know what a great job you are putting in instructing many people by way of your blog. Most likely you have never come across any of us. off white jordan 1

palm angels outlet
Mon,01 Jan 2024 07:05:36
I'm just commenting to make you know what a brilliant discovery my wife's child undergone browsing yuor web blog. She mastered lots of issues, including what it is like to possess a marvelous helping nature to get the mediocre ones completely comprehend several multifaceted subject matter. You really surpassed my desires. Thank you for churning out those great, safe, edifying and unique tips about your topic to Kate. palm angels outlet

shkaf_bpEt
Fri,05 Jan 2024 01:50:22
Модный шкаф купе шкафы куп шкаф купе +на заказ.

peretyazhka_djMr
Fri,05 Jan 2024 16:54:12
Получите перетяжку мягкой мебели с гарантией качества Перетяжка мягкой мебели : простой способ обновить интерьер Высокое обслуживание перетяжки мягкой мебели Перетяжка мягкой мебели обновить диван или кресло перетяжка мебели https://peretyazhkann.ru/.

magazin_wksl
Mon,08 Jan 2024 19:36:09
Купить мобильный в нашем интернет магазине – быстро и удобно магазин - мобильный магазин.

peretyazhka best wlmn
Wed,10 Jan 2024 07:28:13
Освежить мягкую мебель в доме: лучшие методы новый вид старой мебели: простой гайд перетягивать мебель своими руками: Выбор ткани для перетяжки мягкой мебели: секреты выбора обивка мебели. Перетяжка мягкой мебели в домашних условиях: простые советы

obivka cool vgmn
Wed,10 Jan 2024 23:38:43
Перетянуть мягкую мебель в доме: Обновить новый вид старой мебели: простой гайд перетягивать мебель своими руками: Нюансы ткани для перетяжки мягкой мебели: секреты выбора перетяжка мягкой мебели. Как выбрать ткань для перетяжки мягкой мебели: советы дизайнера

myagkaya_vsSa
Sun,14 Jan 2024 06:31:18
Станьте хозяином уютного интерьера перетяжка мебели https://murom-mebel-tula.ru/.

remont_ijOr
Sun,14 Jan 2024 22:13:41
Профессиональный ремонт холодильников ремонт холодильника ремонт холодильников.

dveri_dfpi
Wed,17 Jan 2024 20:26:12
технические двери металлические купить в спб https://texnicheskiedveri.ru/.

rybelsus online pharmacy
Sun,18 Feb 2024 12:07:22

buy semaglutide online
Sun,18 Feb 2024 12:42:28

where can i buy semaglutide
Sun,18 Feb 2024 14:05:14

semaglutide without prescripti
Sun,18 Feb 2024 14:23:13

buy rybelsus in mexico
Sun,18 Feb 2024 15:11:15

wegovy australia online
Sun,18 Feb 2024 17:06:13

rybelsus diabetes medication
Sun,18 Feb 2024 17:08:48

semaglutide 3 mg tablet
Sun,18 Feb 2024 21:50:25

buy rybelsus in canada
Mon,19 Feb 2024 00:30:58

semaglutide cost
Mon,19 Feb 2024 03:56:33

1_jmoi
Wed,21 Feb 2024 03:22:04
Bet on all your favorite sports at 1xBet Win Big with 1xBet: The Top Sports Betting Platform Experience the Excitement of Online Betting with 1xBet Get in on the Action with 1xBet: The Best Sports Betting Site Unleash Your Winning Potential with 1xBet Bet and Win with Confidence at 1xBet Join the 1xBet Community and Start Winning Today The Ultimate Sports Betting Experience Awaits at 1xBet 1xBet: Where Champions Are Made Take Your Betting to the Next Level with 1xBet Get Ready to Win Big at 1xBet Multiply Your Winnings with 1xBet's Exciting Betting Options Elevate Your Sports Betting Game with 1xBet Sign Up for 1xBet and Start Winning Instantly Experience the Thrill of Betting with 1xBet 1xBet: Your Ticket to Winning Big on Sports Don't Miss Out on the Action at 1xBet Join 1xBet Today and Bet on Your Favorite Sports Winning Has Never Been Easier with 1xBet Get Started with 1xBet and Discover a World of Betting Opportunities 1xbet com app download 1xbet programs .

prodvizhen_xxKa
Thu,29 Feb 2024 04:54:05
Почему SEO важен для строительных компаний? продвижение сайтов строительство https://seo-prodvizhenie-sajtov-stroitelnyh-kompanij.ru/ .

Stomatolog_vfPi
Fri,01 Mar 2024 01:54:51
Stomatologurmonsk Новости и советы Преимущества и недостатки имплантации зубов https://lady-society.ru/forum/svobodnoe-obshhenie/gde-v-spb-kachestvenno-lechat-zuby#topic-post-33316 .

mebel_ipPi
Sun,03 Mar 2024 22:29:23

virtualnyy_vsmi
Mon,04 Mar 2024 04:07:32
Подробный гид по выбору, Почему они лучше обычного хостинга, 5 лучших операционных систем для виртуальных серверов , Подробное руководство, Сколько стоит аренда виртуального сервера , Расчет объема памяти и процессорных мощностей недорогой выделенный сервер проверенный хостинг .

remont_yuMi
Tue,05 Mar 2024 00:12:05
Ремонт холодильников Атлант на дому: удобно и быстро! ремонт атланта холодильника ремонт холодильников атлант .

DanielLop
Fri,29 Mar 2024 19:36:34
The meal went without incident although a couple of times she had to avert her gaze from Dan for fear of bursting out laughing. Dan went up to his room saying he wanted to listen to music, he laid on his bed playing with himself waiting for his father to leave. He thought about the events of the last two weeks it had been the craziest time of his life. He put it all down to Mary Harris, she had been his girlfriend for two years, he liked her a lot, she was pretty and intelligent two things that rarely combined in his experience, the problem was she steadfastly refused to let him put his cock inside her, he had thought he was getting somewhere when he took his cock out that evening in the cinema when she had finally allowed him to get his hand inside her panties, it was the first time she had allowed him to do any more than play with her tits. He had taken her hand and placed it on his erection, initially he had been pleased to hear her sharp intake of breath when she felt the size of him and he was encouraged when she began stroking him. It was later that the problem started, he had her in the car park, they were kissing, her sweater was pushed up together with her bra and he was sucking on her nipples. He managed to get her laid across the front of one of the cars, his hand up her skirt, trying to pull down her panties. That was when she had stopped him. https://demonologist1952.diary.ru/ https://rentry.org/9axtm3me https://ellak.gr/user/akby1551977/ https://citarnosis1962.bandcamp.com/album/workout-2 https://anotepad.com/notes/chaw23f4 https://octagonalo1964.bandcamp.com/album/wrong-place-right-time https://rentry.org/6dgy3ec7 https://www.quia.com/profiles/crystal251white https://imageevent.com/crazywar1972 http://www.nfomedia.com/profile?uid=rOiQhdI

DanielLop
Tue,02 Apr 2024 05:28:55
The meal went without incident although a couple of times she had to avert her gaze from Dan for fear of bursting out laughing. Dan went up to his room saying he wanted to listen to music, he laid on his bed playing with himself waiting for his father to leave. He thought about the events of the last two weeks it had been the craziest time of his life. He put it all down to Mary Harris, she had been his girlfriend for two years, he liked her a lot, she was pretty and intelligent two things that rarely combined in his experience, the problem was she steadfastly refused to let him put his cock inside her, he had thought he was getting somewhere when he took his cock out that evening in the cinema when she had finally allowed him to get his hand inside her panties, it was the first time she had allowed him to do any more than play with her tits. He had taken her hand and placed it on his erection, initially he had been pleased to hear her sharp intake of breath when she felt the size of him and he was encouraged when she began stroking him. It was later that the problem started, he had her in the car park, they were kissing, her sweater was pushed up together with her bra and he was sucking on her nipples. He managed to get her laid across the front of one of the cars, his hand up her skirt, trying to pull down her panties. That was when she had stopped him. https://www.metal-archives.com/users/bibliokiller19931977 https://haveagood.holiday/users/339373 https://anotepad.com/notes/et78r5fs https://www.dnnsoftware.com/activity-feed/my-profile/userid/3187259 https://haveagood.holiday/users/338358 https://rentry.org/wq5zaofu https://www.dnnsoftware.com/activity-feed/my-profile/userid/3186153 https://cannabis.net/user/147311 https://www.haikudeck.com/presentations/UPKmgndQCq https://www.divephotoguide.com/user/lellka1987

DanielLop
Sun,14 Apr 2024 14:09:46
The meal went without incident although a couple of times she had to avert her gaze from Dan for fear of bursting out laughing. Dan went up to his room saying he wanted to listen to music, he laid on his bed playing with himself waiting for his father to leave. He thought about the events of the last two weeks it had been the craziest time of his life. He put it all down to Mary Harris, she had been his girlfriend for two years, he liked her a lot, she was pretty and intelligent two things that rarely combined in his experience, the problem was she steadfastly refused to let him put his cock inside her, he had thought he was getting somewhere when he took his cock out that evening in the cinema when she had finally allowed him to get his hand inside her panties, it was the first time she had allowed him to do any more than play with her tits. He had taken her hand and placed it on his erection, initially he had been pleased to hear her sharp intake of breath when she felt the size of him and he was encouraged when she began stroking him. It was later that the problem started, he had her in the car park, they were kissing, her sweater was pushed up together with her bra and he was sucking on her nipples. He managed to get her laid across the front of one of the cars, his hand up her skirt, trying to pull down her panties. That was when she had stopped him. https://drivetime19701991.micro.blog/about/ https://www.dnnsoftware.com/activity-feed/my-profile/userid/3187037 http://www.babelcube.com/user/rakisha-cucalon https://tubeteencam.com/user/tommygun1989/profile http://www.nfomedia.com/profile?uid=rOiTheG https://launchpad.net/~df3r19691 https://www.hentai-foundry.com/user/acti1976/profile https://www.cossa.ru/profile/?ID=239592 https://www.cossa.ru/profile/?ID=239479 http://www.babelcube.com/user/miguel-roberts

DanielLop
Thu,18 Apr 2024 03:16:53
There are many popular live sex cam sites that cater to all different preferences and desires. Some of the most popular ones include Chaturbate, MyFreeCams, LiveJasmin, and Flirt4Free. Chaturbate is known for its diverse selection of cam models, ranging from amateur performers to professional porn stars. It offers a unique "tip-based" system, where viewers can tip the performers for special requests or to show their appreciation. MyFreeCams is a popular choice for those looking for a more personalized experience, as many of the models offer private shows for a fee. It also has a large community aspect, with forums and chat rooms for viewers to interact with each other and the models. LiveJasmin is known for its high-quality video and audio, making it a top choice for viewers who value a visually stimulating experience. It also has a wide range of categories, allowing viewers to easily find the type of performer they are looking for. Flirt4Free is a popular site for those looking for a more intimate and interactive experience. It offers a variety of features such as cam-to-cam shows and interactive sex toys, making it a favorite among viewers who enjoy a more immersive experience. Overall, these live sex cam sites offer a diverse range of performers and features to cater to all types of desires and preferences. Their popularity shows that the demand for live sex cams continues to grow as people seek out new and exciting forms of sexual entertainment. https://imageevent.com/aktav1966 https://www.obesityhelp.com/members/skipirich1985/about_me/ https://www.quia.com/profiles/milamp284 https://tubeteencam.com/user/grenjou1958/profile https://anotepad.com/notes/y3y2tcim