regex equivalent of .split

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

Vote count: 0

Can someone make a regex that separates characters into groups whenever there is a .? (Basically string.split('.');)

For example (the code part being each captured group): lala.laladklfha.ldskjf (indefinite)

It also needs to accept these: "hello" and ".hello"

I need something other than /w+/ because the regex needs to be able to take letters as splitters as well.

asked 10 secs ago
Seth Deegan

نویسنده : استخدام کار بازدید : 10 تاريخ : سه شنبه 22 خرداد 1397 ساعت: 3:40

فهرست وبلاگ