Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

how to find the index positions of particular BBCode tag (Regex)

Language: Layout:
+ ] Show input
Compilation time: 0,17 sec, absolute running time: 0,17 sec, cpu time: 0,19 sec, average memory usage: 18 Mb, average nr of threads: 4 
edit mode |  history
Text = [s]AB[/s]
IndexStartClean = 0
IndexEndClean = 1
---
Text = [sb]45[/sb]
IndexStartClean = 4
IndexEndClean = 5
---
Text = [a]test[/a]
IndexStartClean = 16
IndexEndClean = 19
---

    
                
λ
.NET NoSQL database for rapid development