Regex ile string icerisindeki uzun metni parcalara bolmek

Kelimlere Gore Bolmek

const chunks = transcribedText.match(/(\b.{1,1000}\b)/g) || []

Cumlelere Gore Bolmek

const chunks = transcribedText.match(/(.{1,1000}[.!?])/g) || []

Karakterler Gore Bolmek

const chunks = transcribedText.match(/.{1,1000}/g) || []

Last updated

ยฉ 2024 ~ Yunus Emre Ak ~ yEmreAk