I learn to regexp and I wanna ask, can I save value for use in same regexp? Im trying to split html to tags.
like:
/<[a-zA-Z]*>.*<\/[a-zA-Z]*>/gi
-------- --------
val a val b
and I need a == b, so is there any way how to save "val a" and use instead regexp named as "val b"?